mirror of https://gitlab.crans.org/bde/nk20
Non-Kfet members can see their old aliases only, but no one else
This commit is contained in:
parent
fb72385773
commit
b5fa428bad
|
@ -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
|
||||
]
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue