#560: Certain Role Breaks Invenio
------------------------+----------------------
Reporter: hweiler | Owner: skaplun
Type: defect | Status: in_merge
Priority: minor | Milestone: v1.0
Component: WebAccess | Version:
Resolution: | Keywords: guest
------------------------+----------------------
Comment (by hweiler):
Thanks, Sam!
That's exactly what I wanted to achieve.
Unfortunately, with a role like this, I still get
{{{
In [12]: acc_is_user_in_role({'uid': -1},
acc_get_role_id("paperattributionlinkviewers"))
Out[12]: True
In [13]: acc_is_user_in_role({'uid': 1},
acc_get_role_id("paperattributionlinkviewers"))
Out[13]: True
}}}
Where the role "paperattributionlinkviewers" has exactly the definition
you specified. On "deny all", the above snippets return false.
Any ideas?
Cheers,
H.
--
Ticket URL: <https://invenio-software.org/ticket/560#comment:3>
Invenio <http://invenio-software.org>