Merge pull request #1726 from automatisch/AUT-839

refactor: rewrite usePermissionCatalog with RQ
This commit is contained in:
Ali BARIN
2024-03-15 15:28:33 +01:00
committed by GitHub
6 changed files with 29 additions and 47 deletions

View File

@@ -1,20 +0,0 @@
import { gql } from '@apollo/client';
export const GET_PERMISSION_CATALOG = gql`
query GetPermissionCatalog {
getPermissionCatalog {
subjects {
key
label
}
conditions {
key
label
}
actions {
label
key
subjects
}
}
}
`;