openlibhums / openlibhums/janeway
Repository: Managers should not be able to edit or create object/submission types
Open
Nobody has claimed this yet.
bug
Repositories
- Dominant language
- Python
- Stars
- 238
- Forks
- 97
- Avg merge
- 9d 1h
- Merged PRs (30d)
- 8
Description
Describe the bug
A clear and concise description of what the bug is.
Janeway version
1.9 RC1
To Reproduce
Steps to reproduce the behavior:
- Sign into a Janeway Repository on an account with Repository Manager permissions
- Navigate to the Author Dashboard or Repository Manager, then note and click the option for Submission Types in the left navigation bar.
- Edit and update an existing submission type.
- Create a new submission type.
Expected behavior
Only accounts with higher permissions, such as a Superuser, should be able to edit and create submission types.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue from the Author Dashboard or Repository Manager and trace the Submission Types navigation and handlers. Ensure Repository Manager accounts cannot edit or create submission types while higher-permission accounts retain access, then verify both workflows.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- authorization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100