## Context This PR adds the display of object-level permissions. A following PR will add the ability to update those permissions. The PR contains the SettingsRoleObjectLevel page but it's not fully implemented yet (save won't trigger the corresponding mutation) <img width="616" alt="Screenshot 2025-04-14 at 18 02 40" src="https://github.com/user-attachments/assets/f8c58193-31f3-468a-a96d-f06a9f2e1423" />
14 lines
301 B
TypeScript
14 lines
301 B
TypeScript
import { gql } from '@apollo/client';
|
|
|
|
export const OBJECT_PERMISSION_FRAGMENT = gql`
|
|
fragment ObjectPermissionFragment on ObjectPermission {
|
|
id
|
|
objectMetadataId
|
|
roleId
|
|
canReadObjectRecords
|
|
canUpdateObjectRecords
|
|
canSoftDeleteObjectRecords
|
|
canDestroyObjectRecords
|
|
}
|
|
`;
|