1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-01-19 06:31:20 +00:00

Update 2 files

- /apps/permission/fixtures/initial.json
- /apps/permission/admin.py
This commit is contained in:
thomasl 2025-01-18 15:11:57 +01:00
parent 43dc676747
commit bd6ed27ae5
2 changed files with 2 additions and 69 deletions

View File

@ -31,3 +31,4 @@ class RoleAdmin(admin.ModelAdmin):
Admin customisation for Role
"""
list_display = ('name', )
filter_horizontal = ('permissions',)

View File

@ -4409,75 +4409,7 @@
238
]
}
},
{
"model": "permission.role",
"pk": 23,
"fields": {
"for_club": 10,
"name": "Tr\u00e9sorièr\u22c5e BDA",
"permissions": [
33,
55,
56,
57,
58,
135,
143,
176,
177,
178
]
}
},
{
"model": "permission.role",
"pk": 24,
"fields": {
"for_club": 10,
"name": "Respo sortie",
"permissions": [
239,
240,
241,
242,
243
]
}
},
{
"model": "permission.role",
"pk": 25,
"fields": {
"for_club": 267,
"name": "Tr\u00e9sorièr\u22c5e Terre à terre",
"permissions": [
33,
55,
56,
57,
58,
135,
143,
176,
177,
178
]
}
},
{
"model": "permission.role",
"pk": 26,
"fields": {
"for_club": 282,
"name": "Tr\u00e9sorièr\u22c5e Gala",
"permissions": [
33
]
}
},
},
{
"model": "wei.weirole",
"pk": 12,