mirror of
https://gh-proxy.org/https://github.com/klinsmaya/new-api.git
synced 2026-11-08 09:27:03 +08:00
fix(web): hide system settings from non-root admins (#7513)
This commit is contained in:
@@ -174,6 +174,7 @@ export function useSidebarData(): SidebarData {
|
||||
url: '/system-settings/site',
|
||||
activeUrls: ['/system-settings'],
|
||||
icon: Settings,
|
||||
requiredRole: ROLE.SUPER_ADMIN,
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user