generated from alphane/template
Visual changes
This commit is contained in:
@@ -58,6 +58,10 @@ export class UsersPolicy extends PolicyFactory(User) {
|
||||
"displayName",
|
||||
]
|
||||
|
||||
if (this.user.isSystemAdmin) {
|
||||
attributes.push("roles")
|
||||
}
|
||||
|
||||
return attributes
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user