role settings various fixes + update role object level permission design (#12664)
<img width="944" alt="Screenshot 2025-06-17 at 12 10 07" src="https://github.com/user-attachments/assets/abfda0c2-3266-465c-b98e-7bf78660a057" /> <img width="943" alt="Screenshot 2025-06-17 at 12 10 00" src="https://github.com/user-attachments/assets/8fd28479-1f55-4f3a-815c-1195154d3305" /> <img width="667" alt="Screenshot 2025-06-17 at 12 09 49" src="https://github.com/user-attachments/assets/8d444523-4e43-4b59-95bb-45dc5fac5520" /> <img width="632" alt="Screenshot 2025-06-17 at 12 09 42" src="https://github.com/user-attachments/assets/8a1e45bb-7fde-42a6-9f2d-79cbec8121cd" /> <img width="643" alt="Screenshot 2025-06-17 at 12 09 36" src="https://github.com/user-attachments/assets/43f80a92-16e2-4a0e-8a07-2f3e7278ff4a" />
This commit is contained in:
@ -327,6 +327,14 @@ const SettingsRoleObjectLevel = lazy(() =>
|
||||
})),
|
||||
);
|
||||
|
||||
const SettingsRoleAddObjectLevel = lazy(() =>
|
||||
import('~/pages/settings/roles/SettingsRoleAddObjectLevel').then(
|
||||
(module) => ({
|
||||
default: module.SettingsRoleAddObjectLevel,
|
||||
}),
|
||||
),
|
||||
);
|
||||
|
||||
type SettingsRoutesProps = {
|
||||
isFunctionSettingsEnabled?: boolean;
|
||||
isAdminPageEnabled?: boolean;
|
||||
@ -420,6 +428,10 @@ export const SettingsRoutes = ({
|
||||
path={SettingsPath.RoleObjectLevel}
|
||||
element={<SettingsRoleObjectLevel />}
|
||||
/>
|
||||
<Route
|
||||
path={SettingsPath.RoleAddObjectLevel}
|
||||
element={<SettingsRoleAddObjectLevel />}
|
||||
/>
|
||||
</Route>
|
||||
<Route
|
||||
element={
|
||||
|
||||
Reference in New Issue
Block a user