Skip to content
Snippets Groups Projects
Commit 41ee7dd5 authored by Sébastien DA ROCHA's avatar Sébastien DA ROCHA :bicyclist:
Browse files

Merge branch 'redmine-issues/12363' into 'develop'

REDMINE_ISSUE-12363

See merge request !135
parents d11f0dfe 841d55c8
No related branches found
No related tags found
No related merge requests found
......@@ -693,9 +693,10 @@ export default {
}
if (is_valid) {
//* if moderate project modified by someone else than admin or moderator, switch status to pending
//* if moderate project modified by someone else than admin or moderator, switch published status to pending
if (
this.project.moderation &&
this.form.status.value.value === "published" &&
!this.permissions.is_project_administrator &&
!this.permissions.is_project_moderator &&
this.feature.status === "pending" //* allow (super)contributor to change status to pending
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment