misc: do not let internal roles grant access to backoffice (#38409)
This commit is contained in:
parent
fb0632d07f
commit
c9ba994312
|
@ -136,6 +136,7 @@ class CmdHoboNotify(Command):
|
|||
role.emails_to_members = emails_to_members
|
||||
if role.slug.startswith('_'):
|
||||
role.internal = True
|
||||
role.allows_backoffice_access = False
|
||||
role.store()
|
||||
elif action == 'deprovision':
|
||||
# Deprovision
|
||||
|
|
Loading…
Reference in New Issue