Valentin Deniaud
8e6a95b6ce
attributes_ng: restore setting superuser flag ( #71855 )
2022-11-29 18:55:27 +01:00
Valentin Deniaud
5f0c03e32f
a2_rbac: move role attributes to real model fields ( #69895 )
2022-11-29 14:05:38 +01:00
Benjamin Dauvergne
43c256ee7b
misc: replace deprecated ugettext by gettext ( #69974 )
2022-10-07 11:42:51 +02:00
Benjamin Dauvergne
a265c6267e
misc: remove unicode prefixed strings ( #53714 )
2021-05-04 11:32:24 +02:00
Valentin Deniaud
86d946adcd
misc: apply isort ( #52457 )
2021-03-30 13:59:53 +02:00
Valentin Deniaud
4bb33d3d3c
misc: apply black ( #52457 )
2021-03-30 11:32:55 +02:00
Benjamin Dauvergne
9fbbf0519a
spring cleaning ( #32934 )
...
* reorganize views and forms
* add copyright headers to all .py files
* fix all style errors reported by flake8
2019-05-14 16:19:25 +02:00
Benjamin Dauvergne
103df87f82
Fix service role attribute source get_attributes()
...
get_attributes() must always return a dictionnary or a list of tuples.
2015-06-22 23:32:42 +02:00
Benjamin Dauvergne
6de8764aa6
attributes_ng/sources: service_roles source does not get inherited service roles ( fixes #7546 )
...
The call to filter(service=service) must be done after the call to
for_user(user), otherwise we only get inherited roles of services roles,
which means none.
2015-06-11 17:52:28 +02:00
Benjamin Dauvergne
fc4332c88d
attributes_ng: add new source of role attributes for services
...
fixes #7252
2015-05-18 21:48:59 +02:00