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

This commit is contained in:
Nick 2019-09-21 10:45:40 -04:00
parent 744e6e3248
commit 3db491a8a4

View File

@ -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() {