Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publisher > New button should be deactivated for non-superusers #612

Open
rhigman opened this issue Jul 16, 2024 · 0 comments
Open

Publisher > New button should be deactivated for non-superusers #612

rhigman opened this issue Jul 16, 2024 · 0 comments

Comments

@rhigman
Copy link
Member

rhigman commented Jul 16, 2024

// Only superusers can create new publishers - NewPublisher has no ID field

However, there are no checks in the app to prevent a non-superuser from attempting to create a new publisher. The user can click the "New" button, fill out all the fields and click "Save". Only at that point will they receive an "Invalid credentials" error (caused by the API check above).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant