Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: inability to access /admin if not superadmin
There was an odd issue where non-superadmins could not use the /admin route to access the ACP, even though they had appropriate access. For whatever reason, it could not be reliably reproduced on my dev. As it turns out, the reason was because I was checking the wrong privilege, and my dev database had this wrong privilege leftover from the initial development of the ACP admin privileges feature. Dumb. Anyhow, that fixes this issue.
- Loading branch information
Showing
2 changed files
with
11 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
manage:dashboard
was renamed toadmin:dashboard
, but this check remained, and of course, my dev db had this value set to true. 🤦