Fix admin permissions bounce, prefixes APIs, and Italian UI leftovers.
Local Build and Deploy / deploy (push) Successful in 56s
Local Build and Deploy / deploy (push) Successful in 56s
Gate permissions on ACL manage + resolve super-admin from live user ranks, restore prefixes API routes, and anglicize hardcoded admin copy with nav i18n. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
1 parent
0e89d03940
commit
3403d3b19f
38 files changed
+673
-208
No files matched your search
+10
-10
@@ -109,24 +109,24 @@ function getNavGroups(t: (key: string) => string) {
|
||||
},
|
||||
{
|
||||
href: "/admin/events",
|
||||
label: "Events",
|
||||
label: t("events"),
|
||||
icon: <Calendar size={16} />,
|
||||
},
|
||||
{
|
||||
href: "/admin/polls",
|
||||
label: "Polls",
|
||||
label: t("polls"),
|
||||
icon: <ClipboardList size={16} />,
|
||||
},
|
||||
{ href: "/admin/banners", label: "Banners", icon: <Image size={16} /> },
|
||||
{ href: "/admin/banners", label: t("banners"), icon: <Image size={16} /> },
|
||||
{
|
||||
href: "/admin/prefixes",
|
||||
label: "Prefixes",
|
||||
label: t("prefixes"),
|
||||
icon: <Languages size={16} />,
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
label: t("usersAccess"),
|
||||
label: t("usersAndAccess"),
|
||||
icon: <Shield size={14} />,
|
||||
items: [
|
||||
{ href: "/admin/users", label: t("users"), icon: <Users size={16} /> },
|
||||
@@ -150,12 +150,12 @@ function getNavGroups(t: (key: string) => string) {
|
||||
},
|
||||
{
|
||||
href: "/admin/online",
|
||||
label: "Online Users",
|
||||
label: t("onlineUsers"),
|
||||
icon: <Users size={16} />,
|
||||
},
|
||||
{
|
||||
href: "/admin/moderation",
|
||||
label: "Moderation",
|
||||
label: t("moderation"),
|
||||
icon: <Shield size={16} />,
|
||||
},
|
||||
],
|
||||
@@ -286,15 +286,15 @@ function getNavGroups(t: (key: string) => string) {
|
||||
{ href: "/admin/logs", label: t("logs"), icon: <FileText size={16} /> },
|
||||
{
|
||||
href: "/admin/logs/audit",
|
||||
label: "Audit Log",
|
||||
label: t("auditLog"),
|
||||
icon: <FileText size={16} />,
|
||||
},
|
||||
{
|
||||
href: "/admin/analytics",
|
||||
label: "Analytics",
|
||||
label: t("analytics"),
|
||||
icon: <LayoutDashboard size={16} />,
|
||||
},
|
||||
{ href: "/admin/devops", label: "DevOps", icon: <Monitor size={16} /> },
|
||||
{ href: "/admin/devops", label: t("devops"), icon: <Monitor size={16} /> },
|
||||
{
|
||||
href: "/admin/wordfilter",
|
||||
label: t("wordFilter"),
|
||||
|
||||
Reference in new issue
Block a user