Add settings roles page (#9940)
## Context This PR introduces a new Roles settings page, accessible through the settings menu when the isPermissionsEnabled feature flag is enabled. The page provides a foundation for managing user roles within the workspace. This is not fetching the roles from the BE for now and will be done in a followup PR.
This commit is contained in:
@ -259,6 +259,12 @@ const SettingsLab = lazy(() =>
|
||||
})),
|
||||
);
|
||||
|
||||
const SettingsRoles = lazy(() =>
|
||||
import('~/pages/settings/roles/SettingsRoles').then((module) => ({
|
||||
default: module.SettingsRoles,
|
||||
})),
|
||||
);
|
||||
|
||||
type SettingsRoutesProps = {
|
||||
isBillingEnabled?: boolean;
|
||||
isFunctionSettingsEnabled?: boolean;
|
||||
@ -304,6 +310,7 @@ export const SettingsRoutes = ({
|
||||
element={<SettingsObjectDetailPage />}
|
||||
/>
|
||||
<Route path={SettingsPath.NewObject} element={<SettingsNewObject />} />
|
||||
<Route path={SettingsPath.Roles} element={<SettingsRoles />} />
|
||||
<Route path={SettingsPath.Developers} element={<SettingsDevelopers />} />
|
||||
<Route
|
||||
path={SettingsPath.DevelopersNewApiKey}
|
||||
|
||||
Reference in New Issue
Block a user