-
Notifications
You must be signed in to change notification settings - Fork 0
Roles and Permissions
Parent section: Administration
SDAC has Discord-side permissions, dashboard account roles, and per-server role scoping. The important rule is that users can have different roles on different servers.
From lowest to highest:
- User
- Trusted
- Moderator
- Admin
- Server Owner
- Bot Owner
Bot Owner is global. Server Owner is scoped to a server.
Users can access normal public/user features such as submissions, profiles, guessing games, polls, and their own account/submission pages.
Trusted is a higher user state for servers that want a middle level between normal users and moderators. It can be used for lighter moderation, feature access, or reduced review depending on server settings.
Moderators can use moderation tools that do not require admin/owner control. They can manage lower-level users but cannot manage moderators, admins, server owners, or bot owners.
Admins can manage moderation and many admin settings. Admins can promote users up to moderator, but not to admin, server owner, or bot owner. Admins can ban users below admin level only.
Server Owners manage their own server scope. A Server Owner on server 1 might be a normal user on server 2.
Server Owners can:
- Manage server-specific dashboard settings.
- Manage server theme/layout options.
- Control cross-server visibility for their server.
- Purge non-admin users and submissions within their server scope when the dashboard exposes that action.
- Promote users according to owner-level rules within their allowed scope.
Server Owners cannot automatically access every server.
Bot Owner is the highest global role and can access all server scopes. Bot Owner controls include global access removal, global server selection, release/update controls, and cross-server maintenance.
The user baytae is treated as the protected bot-owner/override identity where implemented.
- Moderators cannot promote users.
- Admins and Server Owners can promote users up to moderator where allowed.
- Only Server Owners or Bot Owners can promote users to admin or server owner where allowed.
- Only Bot Owners can grant Bot Owner.
- Users may have different roles per server.
Each admin role can ban only users below itself:
- Moderator cannot ban moderator, admin, server owner, or bot owner.
- Admin cannot ban admin, server owner, or bot owner.
- Server Owner cannot ban another server owner unless a special protected owner flow allows it.
- Bot Owner can manage global access.
The protected baytae owner flow may require a server-issued code when banning another owner so a fake username alone is not enough.
Admins can lock users out of:
- Games.
- Submissions.
- Both games and submissions.
Lockout state should be server-scoped when the user role/access is server-scoped.
Admins should only see servers they are in or are explicitly allowed to manage. Bot Owners can see all servers. Server selection belongs in the user dropdown/sidebar and should control the page scope consistently.
Cross Server views let eligible users see data across allowed servers. Server Owners can toggle whether their server is visible to other servers.