Skip to content

Commit

Permalink
Update permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
alexisrolland committed Nov 10, 2019
1 parent 860cefe commit e93ef4b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/init/src/components/datasource/DataSourceTable.vue
Expand Up @@ -53,7 +53,7 @@ export default {
},
computed: {
showEditDataSource() {
let roles = ["admin"];
let roles = ["advanced", "admin"];
return roles.includes(this.$store.state.currentUser.role);
}
},
Expand Down
2 changes: 1 addition & 1 deletion app/init/src/components/indicator/IndicatorTable.vue
Expand Up @@ -59,7 +59,7 @@ export default {
},
computed: {
showEditIndicator() {
let roles = ["admin"];
let roles = ["standard", "advanced", "admin"];
return roles.includes(this.$store.state.currentUser.role);
}
},
Expand Down
Expand Up @@ -41,7 +41,7 @@ export default {
},
computed: {
showEditIndicatorGroup() {
let roles = ["admin"];
let roles = ["standard", "advanced", "admin"];
return roles.includes(this.$store.state.currentUser.role);
}
},
Expand Down

0 comments on commit e93ef4b

Please sign in to comment.