Account / User profile / Front page: Incorrect/Outdated permissions for CreateDatabaseDump UI visibility #1905
Labels
admin
Admin actions/tasks
bug/error
Bugs and errors (timeout)
complexity: unknown
Unknown days of work
content: users
Users (account/profile), user settings
permissions
User permissions
priority: low
Issues/Tasks that are not so important
Website (required)
All
Describe the bug (required)
Users can be independently granted the CreateDatabaseDump permission.
However, that permission token does not allow users with it to actually view the database dump link or page:
They are both dependent on the Admin token rather than the CreateDatabaseDump token.
This means that while those without Admin but with CreateDatabaseDump can create dumps by visiting vocadb.net/Admin/CreateJsonDump, they will not be able to choose the properties of the dump and will receive a 404.
To Reproduce (optional)
Steps to reproduce the behavior:
Go to vocadb.net/Admin/CreateJsonDump without the Admin token but with CDD
Note lack of link in UI and 404 upon visiting page
Expected behavior (optional)
The UI would be tied to CDD rather than Admin and would display for those with CDD
Checklist (required)
Fill out the checklist. Use
strikethroughsor leave fields empty if you don't know or are unable to check/test.- [ ] Tested on the beta site.ImpossibleThe text was updated successfully, but these errors were encountered: