Skip to content

Commit

Permalink
Move from normal admin to is priveleged flag
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkx committed Oct 29, 2024
1 parent 543cd9f commit b5ed9dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acl/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def useState(self, user):
# machines by doing something special here. So hence
# we do not set the OVERRIDE bit here.
#
if user.admin or self.canInstruct(user):
if user.is_privileged or self.canInstruct(user):
flags |= MachineUseFlags.OVERRIDE

return [needs, flags]
Expand Down

0 comments on commit b5ed9dd

Please sign in to comment.