bot
bot copied to clipboard
[Bug] After modifying admin level roles, server admins can no longer access the Admin console/dashboard
- User with full server admin adds bot to server
- Admin modifies roles on server
- Server owner moves admins to new admin role (we basically just changed the name as the owner didnt have a clue how to setup Discord in the beginning)
- Server owner deletes old role the bot was added through
- Admins can no longer access dashboard
- Only owner can Kick bot from server
- Owner transfers owner to guru admin ;)
- All roles reset and admins assigned
- Guru admin can readd the bot to the server
- Receive error that must have level 3 server access
Hello Mike! I'd like to better understand this issue,
At step 6, was the bot kicked from the server? At step 8, were the role/admin reassignments only in Discord, or also configured in GAB? At step 10, does the guru admin still have Server Ownership? When all Admin Roles removed, or is there still a Discord role that has Admin in GAB? Is the Owner able to access the dashboard and add/remove Server Admins?
At step 6, was the bot kicked from the server? Yep. We could also repeat this after step 9, however the server admins can kick the bot from the server this time. Previously when we first encountered the bug we didnt have the option to remove the bot.
At step 8, were the role/admin reassignments only in Discord, or also configured in GAB? Server admins had no issue accessing the dashboard prior to the issue. Even though they can add the bot, they can't access the dashboard to configure GAB. Only if ownerships is transferred am I able to configure the bot
At step 10, does the guru admin still have Server Ownership? Nope, ownership was transferred back to the original owner. If we transfer it back to me, then there are no issues accessing the dashboard.
When all Admin Roles removed, or is there still a Discord role that has Admin in GAB? I haven't bothered to go into the config settings to resolve this so we can fix the bug.
Is the Owner able to access the dashboard and add/remove Server Admins? Owner has no issues accessing the dashboard. I added the bot as an admin to begin with, not as owner.
Thanks!
This is likely caused by GAB remembering your config when kicked: the Server Admin list still contains the old (now deleted) roles. the Server Owner should be able to go to the Server Admins section and add the correct roles who should receive Admin status. (Let me know if this doesn't work!)
The best way to fix this issue would be to re-calculate the Server Admin list when GAB is re-added to a server. GAB normally only auto-adds Server Admins on the first time it's added to a server; this results in all roles with the Manage Server permission getting Server Admin.
I figured this was the case. We'll go through the transfer process again and I'll fix it up accordingly so that I don't nag you incessantly to fix the bug ;)
Ahh