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

Repository: Manager w/o access to Press shouldn't see Press Manager link in Repository Manager navigation #4647

Open
alainna opened this issue Mar 6, 2025 · 0 comments
Labels
bug Something's not working preprints

Comments

@alainna
Copy link
Contributor

alainna commented Mar 6, 2025

Describe the bug
When accessing the Repository Manager on an account that is assigned Repository Manager permissions but not Press Manager, Superuser, etc permissions, the "Press Manager" link is visible.

Janeway version
1.7.4

To Reproduce
Steps to reproduce the behavior:

  1. Log into a Janeway Repository with an account that only has Manager permissions for that Repository and not the Press.
  2. Click on the Repository Manager page.
  3. Note the "Press Manager" link at the top nav and click the link
    Image
  4. See error (expected): "Permission Denied"
    Image
@alainna alainna added bug Something's not working preprints labels Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something's not working preprints
Projects
None yet
Development

No branches or pull requests

1 participant