add authorization rule name field

This commit is contained in:
Paul Marillonnet 2019-05-03 11:39:08 +02:00
parent c29406cc79
commit a099256bef
1 changed files with 1 additions and 0 deletions

View File

@ -54,6 +54,7 @@ class AuthorizationRuleCreateForm(forms.Form):
(SERVICE_SPORTS, _("Sports services")),
(SERVICE_CULTURE, _("Cultural service")),
)
name = forms.CharField()
scopes = forms.MultipleChoiceField(
choices=AUTHZ_SCOPES_CHOICES,
widget=forms.CheckboxSelectMultiple)