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
Commits
e1c0c4f8
Commit
e1c0c4f8
authored
3 years ago
by
Timothee P
Browse files
Options
Downloads
Patches
Plain Diff
allow super contrib & moderator to modify published status & forbid them to delete others features
parent
8ad92bdc
No related branches found
No related tags found
2 merge requests
!295
Version 3.0.0
,
!269
REDMINE_ISSUE-11834
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/components/feature/FeatureListTable.vue
+0
-1
0 additions, 1 deletion
src/components/feature/FeatureListTable.vue
src/views/feature/Feature_list.vue
+0
-1
0 additions, 1 deletion
src/views/feature/Feature_list.vue
with
0 additions
and
2 deletions
src/components/feature/FeatureListTable.vue
+
0
−
1
View file @
e1c0c4f8
...
...
@@ -408,7 +408,6 @@ export default {
if
(
this
.
userStatus
===
'
Administrateur projet
'
)
return
true
;
//* can delete all
//* others can delete only their own features
return
feature
.
properties
.
creator
.
username
===
this
.
user
.
username
;
},
canEditFeature
(
feature
)
{
...
...
This diff is collapsed.
Click to expand it.
src/views/feature/Feature_list.vue
+
0
−
1
View file @
e1c0c4f8
...
...
@@ -670,7 +670,6 @@ export default {
featureAPI
.
getPaginatedFeatures
(
url
)
.
then
((
data
)
=>
{
if
(
data
)
{
console
.
log
({
data
});
this
.
featuresCount
=
data
.
count
;
this
.
previous
=
data
.
previous
;
this
.
next
=
data
.
next
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment