Enhance dashboard guild access with owner bypass functionality
- Introduced `resolveDashboardGuild` to handle guild resolution for both managed and owner-panel bypass scenarios. - Updated `GuildLayout` and `WelcomePage` components to utilize the new guild resolution logic, improving access handling. - Enhanced `DashboardShell` to display an informational banner for users accessing guilds via the owner-panel bypass. - Added localization support for owner bypass messages in English and German. - Updated authentication logic to allow owner-panel users to access guilds without Discord Manage Guild permission.
This commit is contained in:
@@ -273,6 +273,11 @@
|
||||
"botMissing": "Not installed",
|
||||
"empty": "No servers found. You need the Manage Server permission on a Discord server to appear here."
|
||||
},
|
||||
"ownerBypass": {
|
||||
"title": "Owner access",
|
||||
"description": "You are editing this server via the Owner panel without Discord Manage Server permission.",
|
||||
"backToOwner": "Back to guild management"
|
||||
},
|
||||
"overview": {
|
||||
"title": "Overview",
|
||||
"moduleStatusTitle": "Module status",
|
||||
@@ -997,6 +1002,7 @@
|
||||
"createInvite": "Create invite",
|
||||
"inviteCopied": "Invite copied: {url}",
|
||||
"inviteCreated": "Invite created: {url}",
|
||||
"openDashboard": "Open dashboard",
|
||||
"blacklisted": "Blacklisted",
|
||||
"blacklist": "Blacklist",
|
||||
"unblacklist": "Remove blacklist",
|
||||
|
||||
Reference in New Issue
Block a user