Question · Vibe coding with Claude Code course · Module 9: Discord clone
Quiz: hasPermission and ADMINISTRATOR
Why does a role with ADMINISTRATOR end hasPermission at once with true?
Answer options
- Because ADMINISTRATOR is always the lowest role
- According to Discord it gives all permissions and skips channel overwrites
- It is an accident; an administrator should go through channel overwrites like everyone else
- Because ADMINISTRATOR blocks all other permissions
You can check the correct answer by solving this task in the CodeWorlds game.