Commit 3db491a8 authored by Nick's avatar Nick

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

parent 744e6e32
......@@ -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() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment