@spotify/backstage-plugin-rbac-common 0.6.10 → 0.6.11
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 +6 -0
- package/dist/index.d.ts +10 -10
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -2185,24 +2185,24 @@ declare const PublishVersionRequestParser: z.ZodObject<{
|
|
|
2185
2185
|
/** @public */
|
|
2186
2186
|
declare const TestPolicyDecisionResponseParser: z.ZodObject<{
|
|
2187
2187
|
decision: z.ZodUnion<[z.ZodObject<{
|
|
2188
|
-
result: z.ZodUnion<[z.ZodLiteral<
|
|
2188
|
+
result: z.ZodUnion<[z.ZodLiteral<"ALLOW">, z.ZodLiteral<"DENY">]>;
|
|
2189
2189
|
}, "strip", z.ZodTypeAny, {
|
|
2190
|
-
result:
|
|
2190
|
+
result: "ALLOW" | "DENY";
|
|
2191
2191
|
}, {
|
|
2192
|
-
result:
|
|
2192
|
+
result: "ALLOW" | "DENY";
|
|
2193
2193
|
}>, z.ZodObject<{
|
|
2194
2194
|
pluginId: z.ZodString;
|
|
2195
2195
|
resourceType: z.ZodString;
|
|
2196
2196
|
} & {
|
|
2197
|
-
result: z.ZodLiteral<
|
|
2197
|
+
result: z.ZodLiteral<"CONDITIONAL">;
|
|
2198
2198
|
conditions: z.ZodType<_backstage_plugin_permission_common.PermissionCriteria<_backstage_plugin_permission_common.PermissionCondition>, z.ZodTypeDef, _backstage_plugin_permission_common.PermissionCriteria<_backstage_plugin_permission_common.PermissionCondition>>;
|
|
2199
2199
|
}, "strip", z.ZodTypeAny, {
|
|
2200
|
-
result:
|
|
2200
|
+
result: "CONDITIONAL";
|
|
2201
2201
|
conditions: _backstage_plugin_permission_common.PermissionCriteria<_backstage_plugin_permission_common.PermissionCondition>;
|
|
2202
2202
|
resourceType: string;
|
|
2203
2203
|
pluginId: string;
|
|
2204
2204
|
}, {
|
|
2205
|
-
result:
|
|
2205
|
+
result: "CONDITIONAL";
|
|
2206
2206
|
conditions: _backstage_plugin_permission_common.PermissionCriteria<_backstage_plugin_permission_common.PermissionCondition>;
|
|
2207
2207
|
resourceType: string;
|
|
2208
2208
|
pluginId: string;
|
|
@@ -2242,9 +2242,9 @@ declare const TestPolicyDecisionResponseParser: z.ZodObject<{
|
|
|
2242
2242
|
}>, "many">;
|
|
2243
2243
|
}, "strip", z.ZodTypeAny, {
|
|
2244
2244
|
decision: {
|
|
2245
|
-
result:
|
|
2245
|
+
result: "ALLOW" | "DENY";
|
|
2246
2246
|
} | {
|
|
2247
|
-
result:
|
|
2247
|
+
result: "CONDITIONAL";
|
|
2248
2248
|
conditions: _backstage_plugin_permission_common.PermissionCriteria<_backstage_plugin_permission_common.PermissionCondition>;
|
|
2249
2249
|
resourceType: string;
|
|
2250
2250
|
pluginId: string;
|
|
@@ -2260,9 +2260,9 @@ declare const TestPolicyDecisionResponseParser: z.ZodObject<{
|
|
|
2260
2260
|
}[];
|
|
2261
2261
|
}, {
|
|
2262
2262
|
decision: {
|
|
2263
|
-
result:
|
|
2263
|
+
result: "ALLOW" | "DENY";
|
|
2264
2264
|
} | {
|
|
2265
|
-
result:
|
|
2265
|
+
result: "CONDITIONAL";
|
|
2266
2266
|
conditions: _backstage_plugin_permission_common.PermissionCriteria<_backstage_plugin_permission_common.PermissionCondition>;
|
|
2267
2267
|
resourceType: string;
|
|
2268
2268
|
pluginId: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spotify/backstage-plugin-rbac-common",
|
|
3
3
|
"description": "Control access to actions and data in Backstage with ease.",
|
|
4
|
-
"version": "0.6.
|
|
4
|
+
"version": "0.6.11",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"homepage": "https://backstage.spotify.com",
|
|
7
7
|
"main": "dist/index.cjs.js",
|
|
@@ -31,14 +31,14 @@
|
|
|
31
31
|
"postpack": "backstage-cli package postpack"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@backstage/catalog-model": "^1.7.
|
|
35
|
-
"@backstage/plugin-permission-common": "^0.9.
|
|
34
|
+
"@backstage/catalog-model": "^1.7.6",
|
|
35
|
+
"@backstage/plugin-permission-common": "^0.9.3",
|
|
36
36
|
"@backstage/types": "^1.2.2",
|
|
37
37
|
"uuid": "^11.0.0",
|
|
38
38
|
"zod": "^3.20.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@backstage/cli": "^0.34.
|
|
41
|
+
"@backstage/cli": "^0.34.5"
|
|
42
42
|
},
|
|
43
43
|
"files": [
|
|
44
44
|
"dist",
|