Hello,
I am using Invenio 1.1.1. I need to restrict a collection, which is allowed to
search by a few users.
I created a role named “acciheppictures”. The firewall is “deny all”. The
collection authorized for role ‘acciheppictures’ is ‘event1’. The user
‘[email protected]’ is connected to the role.
Role details:
id name description
firewall like role definition
16 acciheppictures A few users can access IHEP Pictures catogery.
deny all
users connected to role acciheppictures:
id email
9 [email protected]<mailto:[email protected]>
authorizations for role acciheppictures:
id name parameter
36 viewrestrcoll # collection
2 event1
When I search the collection ‘event1’, it is shown
This collection is restricted. If you are authorized to access it, please click
on the Search button.
After I logged in Invenio with my account, I still cannot search the
collection.
I have tried to define the firewall as “allow email
[email protected]<mailto:[email protected]>” or “allow uid 9”, it is shown
sorry, could not modify role because of troubles with its definition:
Syntax error while compiling rule allow email [email protected] (line 1): not a
valid rule!
Why ? what is wrong? Please help.
Thank you very much
Best regards.
Lanxin