Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
Géocontrib Frontend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GéoContrib
Géocontrib Frontend
Merge requests
!135
REDMINE_ISSUE-12363
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
REDMINE_ISSUE-12363
redmine-issues/12363
into
develop
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Timothee P
requested to merge
redmine-issues/12363
into
develop
3 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
restrict reverting to draft status only if published
0
0
Merge request reports
Compare
develop
develop (base)
and
latest version
latest version
841d55c8
1 commit,
3 years ago
1 file
+
2
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/views/feature/Feature_edit.vue
+
2
−
1
Options
@@ -688,9 +688,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
)
{
Loading