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
1 changed files with 28 additions and 4 deletions

View File

@ -2839,6 +2839,22 @@
"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",
"pk": 1,
@ -2971,14 +2987,14 @@
62,
127,
133,
135,
136,
141,
142,
150,
166,
167,
168
168,
182
]
}
},
@ -3271,7 +3287,12 @@
170,
171,
176,
177
177,
178,
179,
180,
181,
182
]
}
},
@ -3466,7 +3487,9 @@
56,
57,
58,
137,
143,
147,
150,
166,
167,
@ -3474,7 +3497,8 @@
176,
177,
180,
181
181,
182
]
}
},