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
1 changed files with 19 additions and 2 deletions

View File

@ -115,7 +115,7 @@
"type": "view", "type": "view",
"mask": 1, "mask": 1,
"field": "", "field": "",
"permanent": true, "permanent": false,
"description": "Voir les aliases des notes des clubs et des adhérents du club Kfet" "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" "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", "model": "permission.role",
"pk": 1, "pk": 1,
@ -2861,7 +2877,8 @@
157, 157,
158, 158,
159, 159,
160 160,
179
] ]
} }
}, },