1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-12-22 23:42:25 +00:00

Non-Kfet members can see their old aliases only, but no one else

This commit is contained in:
Yohann D'ANELLO 2020-10-07 11:22:02 +02:00
parent fb72385773
commit b5fa428bad

View File

@ -115,7 +115,7 @@
"type": "view",
"mask": 1,
"field": "",
"permanent": true,
"permanent": false,
"description": "Voir les aliases des notes des clubs et des adhérents du club Kfet"
}
},
@ -2791,6 +2791,22 @@
"description": "Voir tous les alias, y compris ceux des non adhérents"
}
},
{
"model": "permission.permission",
"pk": 179,
"fields": {
"model": [
"note",
"alias"
],
"query": "{\"note__noteuser__user\": [\"user\"]}",
"type": "view",
"mask": 1,
"field": "",
"permanent": true,
"description": "Voir ses propres alias, pour toujours"
}
},
{
"model": "permission.role",
"pk": 1,
@ -2861,7 +2877,8 @@
157,
158,
159,
160
160,
179
]
}
},