Skip to content

Fix editor_or_manager decorator and add additional_nav hook#5285

Open
ajrbyers wants to merge 1 commit intomasterfrom
b-4308-repository-manager-reporting
Open

Fix editor_or_manager decorator and add additional_nav hook#5285
ajrbyers wants to merge 1 commit intomasterfrom
b-4308-repository-manager-reporting

Conversation

@ajrbyers
Copy link
Copy Markdown
Member

@ajrbyers ajrbyers commented Apr 23, 2026

editor_or_manager referenced Journal.editor_list() which does not exist. Replace with is_editor/is_journal_manager matching editor_user_required.

Add additional_nav hook call to core nav so plugins can inject nav links for any user type by checking context in their own templates.

Closes #4308 with openlibhums/reporting#49

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

Successfully merging this pull request may close these issues.

Add a link to the sidebar for the reporting plugin

2 participants