refactor: rewrite usePermissionCatalog with RQ

This commit is contained in:
Rıdvan Akca
2024-03-14 16:13:01 +03:00
parent 3aa86eebf2
commit 0d525e056a
6 changed files with 29 additions and 47 deletions

View File

@@ -25,7 +25,6 @@ type Query {
): [SubstepArgument]
getBillingAndUsage: GetBillingAndUsage
getConfig(keys: [String]): JSONObject
getPermissionCatalog: PermissionCatalog
getNotifications: [Notification]
getSamlAuthProviderRoleMappings(id: String!): [SamlAuthProvidersRoleMapping]
getTrialStatus: GetTrialStatus
@@ -656,12 +655,6 @@ type Permission {
conditions: [String]
}
type PermissionCatalog {
actions: [Action]
subjects: [Subject]
conditions: [Condition]
}
type Action {
label: String
key: String