@backstage-community/plugin-rbac-node 1.18.1 → 1.19.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  ## @backstage-community/plugin-rbac-node [1.4.0](https://github.com/janus-idp/backstage-plugins/compare/@backstage-community/plugin-rbac-node@1.3.1...@backstage-community/plugin-rbac-node@1.4.0) (2024-07-26)
2
2
 
3
+ ## 1.19.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [50e194d]
8
+ - @backstage-community/plugin-rbac-common@1.25.0
9
+
10
+ ## 1.19.0
11
+
12
+ ### Minor Changes
13
+
14
+ - 133eae6: Add support for loading conditional permissions from a remote provider (fix #6412)
15
+
3
16
  ## 1.18.1
4
17
 
5
18
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import * as _backstage_backend_plugin_api from '@backstage/backend-plugin-api';
2
+ import { RoleConditionalPolicyDecision, PermissionInfo } from '@backstage-community/plugin-rbac-common';
2
3
 
3
4
  /**
4
5
  * Used to provide a list of pluginIDs on which a permission well-known endpoint is to be searched.
@@ -21,6 +22,7 @@ interface RBACProvider {
21
22
  interface RBACProviderConnection {
22
23
  applyRoles(roles: string[][]): Promise<void>;
23
24
  applyPermissions(permissions: string[][]): Promise<void>;
25
+ applyConditionalPermissions(conditionalPermissions: RoleConditionalPolicyDecision<PermissionInfo>[]): Promise<void>;
24
26
  }
25
27
 
26
28
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage-community/plugin-rbac-node",
3
3
  "description": "Node.js library for the rbac plugin",
4
- "version": "1.18.1",
4
+ "version": "1.19.1",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -39,6 +39,7 @@
39
39
  "dist"
40
40
  ],
41
41
  "dependencies": {
42
+ "@backstage-community/plugin-rbac-common": "^1.25.0",
42
43
  "@backstage/backend-plugin-api": "^1.7.0"
43
44
  },
44
45
  "repository": {