openlibhums / openlibhums/janeway
Tweaking Maintenance Mode
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 238
- Forks
- 97
- Avg merge
- 9d 1h
- Merged PRs (30d)
- 8
Description
One of our journal editor team wants to enable Maintenance Mode so they can prepare the site for their oncoming launch. We've already created a journal in our press for them. In 1.4 editors will no longer be able to activate maintenance mode to not lock them out of their journal.
The editors have already experienced the lock out (I have reversed this) but would still like to be able to activate Maintenance Mode to work on their journal before the launch. You can consider it as some form of "closed preview" or preparation for the launch. Right now this is not possible because only admins and superusers can access a journal under maintenance.
Is it possible to tweak the permission so editors can enable it and still access the site?
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 tracing the maintenance-mode permission checks and the rules that allow admins and superusers to access a journal under maintenance. The work is done when editors can enable maintenance mode for their journal and continue accessing it, with tests covering that access behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- authorization, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100