Bug #2469
GWT: 0.6.2, Negative EditionPermission not working if set on a corpus or subcorpus
Statut: | New | Début: | 02/11/2018 | |
---|---|---|---|---|
Priorité: | Normal | Echéance: | ||
Assigné à: | - | % réalisé: | 0% |
|
Catégorie: | - | Temps passé: | - | |
Version cible: | Portal 0.7 |
Description
Negative EditionPermission in a profile may be used to prevent the display of edition pages (for copyright reasons, for example) when a global TxmAllPermission is set for the whole corpus.
<entity path="/CORPUS"> <permission value="TxmAllPermission"/> <permission value="EditionPermission" not="true"/> </entity>
However, it only works for individual texts (<entity path="/CORPUS/textId">). When set to a whole corpus or subcorpus, the user can still display edition pages if textsPermission is positive or, in any case, through a "backToText" hyperlink.
A workaround is either to list all texts with restrictions or not use TxmAllPermissions and and set the relevant permissions positively.
Historique
#1 Mis à jour par Alexey Lavrentev il y a presque 7 ans
- Version cible mis à Portal 0.7
#2 Mis à jour par Alexey Lavrentev il y a presque 7 ans
- Description mis à jour (diff)