Add object level permission permissions to role page (ReadOnly) (#11568)

## 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"
/>
This commit is contained in:
Weiko
2025-04-15 18:46:36 +02:00
committed by GitHub
parent c23942ce6f
commit 43af5ceb5e
41 changed files with 1092 additions and 268 deletions

View File

@ -313,6 +313,12 @@ const SettingsRoleEdit = lazy(() =>
})),
);
const SettingsRoleObjectLevel = lazy(() =>
import('~/pages/settings/roles/SettingsRoleObjectLevel').then((module) => ({
default: module.SettingsRoleObjectLevel,
})),
);
type SettingsRoutesProps = {
isFunctionSettingsEnabled?: boolean;
isAdminPageEnabled?: boolean;
@ -402,6 +408,10 @@ export const SettingsRoutes = ({
path={SettingsPath.RoleCreate}
element={<SettingsRoleCreate />}
/>
<Route
path={SettingsPath.RoleObjectLevel}
element={<SettingsRoleObjectLevel />}
/>
</Route>
<Route
element={