[permissions] Place lab + billing behind settings/workspace permission gates (#10354)
This commit is contained in:
@ -421,7 +421,15 @@ export const SettingsRoutes = ({
|
||||
/>
|
||||
</>
|
||||
)}
|
||||
<Route path={SettingsPath.Lab} element={<SettingsLab />} />
|
||||
<Route
|
||||
element={
|
||||
<SettingsProtectedRouteWrapper
|
||||
settingsPermission={SettingsFeatures.WORKSPACE}
|
||||
/>
|
||||
}
|
||||
>
|
||||
<Route path={SettingsPath.Lab} element={<SettingsLab />} />
|
||||
</Route>
|
||||
</Routes>
|
||||
</Suspense>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user