Skip to content
Snippets Groups Projects
Commit b24fd36c authored by Timothee P's avatar Timothee P :sunflower:
Browse files

add isOwnFeature to feature list status choices filtering

parent 69b8c405
No related branches found
No related tags found
2 merge requests!295Version 3.0.0,!292REDMINE_ISSUE-13048
...@@ -329,7 +329,8 @@ export default { ...@@ -329,7 +329,8 @@ export default {
if (this.project && this.user) { if (this.project && this.user) {
const isModerate = this.project.moderation; const isModerate = this.project.moderation;
const userStatus = this.USER_LEVEL_PROJECTS[this.project.slug]; const userStatus = this.USER_LEVEL_PROJECTS[this.project.slug];
return allowedStatus2change(this.statusChoices, isModerate, userStatus); const isOwnFeature = true; //* dans ce cas le contributeur est toujours l'auteur des signalements qu'il peut modifier
return allowedStatus2change(this.statusChoices, isModerate, userStatus, isOwnFeature);
} }
return []; return [];
}, },
......
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