@daocloud-proto/ghippo 0.15.0-dev-10 → 0.15.0-dev-12
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/package.json +1 -1
- package/v1alpha1/role.pb.ts +7 -7
package/package.json
CHANGED
package/v1alpha1/role.pb.ts
CHANGED
|
@@ -49,16 +49,16 @@ export type GProductAllPermissions = {
|
|
|
49
49
|
|
|
50
50
|
export type AuthScopeAllPermissions = {
|
|
51
51
|
authScope?: AuthScope
|
|
52
|
-
categoryPerms?:
|
|
52
|
+
categoryPerms?: CategoryAllPermissions[]
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
export type
|
|
55
|
+
export type Category = {
|
|
56
56
|
name?: string
|
|
57
57
|
localizedName?: string
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
export type
|
|
61
|
-
|
|
60
|
+
export type CategoryAllPermissions = {
|
|
61
|
+
category?: Category
|
|
62
62
|
resourcePerms?: ResourceAllPermissions[]
|
|
63
63
|
}
|
|
64
64
|
|
|
@@ -69,7 +69,7 @@ export type ResourceType = {
|
|
|
69
69
|
|
|
70
70
|
export type ResourceAllPermissions = {
|
|
71
71
|
resourceType?: ResourceType
|
|
72
|
-
actions?:
|
|
72
|
+
actions?: ResourceActionWithDependency[]
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
export type ResourceAction = {
|
|
@@ -77,7 +77,7 @@ export type ResourceAction = {
|
|
|
77
77
|
localizedName?: string
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
export type
|
|
80
|
+
export type ResourceActionWithDependency = {
|
|
81
81
|
action?: ResourceAction
|
|
82
82
|
dependPerms?: Permission[]
|
|
83
83
|
}
|
|
@@ -138,7 +138,7 @@ export type GProductPermissions = {
|
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
export type CategoryPermissions = {
|
|
141
|
-
|
|
141
|
+
category?: Category
|
|
142
142
|
resourcePerms?: ResourcePermissions[]
|
|
143
143
|
}
|
|
144
144
|
|