1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-11-27 02:43:01 +00:00

PC Kfet can see limited user information and clubs. It can create memberships but not see them

This commit is contained in:
Yohann D'ANELLO 2020-10-25 21:38:04 +01:00
parent fe4363b83d
commit 0e7390b669

View File

@ -2839,6 +2839,22 @@
"description": "Voir n'importe quel profil non encore inscrit" "description": "Voir n'importe quel profil non encore inscrit"
} }
}, },
{
"model": "permission.permission",
"pk": 182,
"fields": {
"model": [
"auth",
"user"
],
"query": "{\"memberships__club__name\": \"BDE\", \"memberships__roles__name\": \"Adhérent BDE\", \"memberships__date_start__lte\": [\"today\"], \"memberships__date_end__gte\": [\"today\"]}",
"type": "view",
"mask": 2,
"field": "",
"permanent": false,
"description": "Voir n'importe quel utilisateur qui est adhérent BDE"
}
},
{ {
"model": "permission.role", "model": "permission.role",
"pk": 1, "pk": 1,
@ -2971,14 +2987,14 @@
62, 62,
127, 127,
133, 133,
135,
136, 136,
141, 141,
142, 142,
150, 150,
166, 166,
167, 167,
168 168,
182
] ]
} }
}, },
@ -3271,7 +3287,12 @@
170, 170,
171, 171,
176, 176,
177 177,
178,
179,
180,
181,
182
] ]
} }
}, },
@ -3466,7 +3487,9 @@
56, 56,
57, 57,
58, 58,
137,
143, 143,
147,
150, 150,
166, 166,
167, 167,
@ -3474,7 +3497,8 @@
176, 176,
177, 177,
180, 180,
181 181,
182
] ]
} }
}, },