Bug #2469
GWT: 0.6.2, Negative EditionPermission not working if set on a corpus or subcorpus
Status: | New | Start date: | 11/02/2018 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% |
|
Category: | - | Spent time: | - | |
Target version: | 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.
History
#1 Updated by Alexey Lavrentev almost 5 years ago
- Target version set to Portal 0.7
#2 Updated by Alexey Lavrentev almost 5 years ago
- Description updated (diff)