misc: do not let internal roles grant access to backoffice (#38409)

This commit is contained in:
Frédéric Péters 2019-12-11 14:10:39 +01:00
parent fb0632d07f
commit c9ba994312
1 changed files with 1 additions and 0 deletions

View File

@ -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