fix: display admin link to all admin permissions (#1052)

pull/1066/head
Nick 5 years ago
parent 744e6e3248
commit 3db491a8a4

@ -265,7 +265,7 @@ export default {
}
},
isAdmin() {
return _.includes(this.permissions, 'manage:system')
return _.intersection(this.permissions, ['manage:system', 'write:users', 'manage:users', 'write:groups', 'manage:groups', 'manage:navigation', 'manage:theme', 'manage:api']).length > 0
}
},
created() {

Loading…
Cancel
Save