I'm trying to add object-level policies to certain objects that will
restrict access to authenticated users / admin users only. From the
documentation I've read this should be pretty simple to do but
something just doesn't seem to be working properly.
Does anyone know if it's possible to identify anonymous users in a
Fedora policy? What I want is something like:
<SubjectMatch MatchId="urn:oasis:names:tc:xacml:
1.0:function:string-equal">
<AttributeValue DataType="http://www.w3.org/2001/
XMLSchema#string">anonymous user</AttributeValue>
<SubjectAttributeDesignator AttributeId="fedoraRole"
DataType="http://www.w3.org/2001/XMLSchema#string"
MustBePresent="false"/>
</SubjectMatch>
or 'null' or something in there instead. But the Drupal anonymous
user role doesn't seem to make its way through to Fedora
I've tried creating a rule with a condition using 'not' to filter out
administrators and other user roles but I seem to be having problems
with this and a positive way of identifying users who have no role
would really help. Any suggestions?
Brian
1. deleted the majority of deny-* from $fedora/data/fedora-xacml-policies/repository-policies/default (I think deleted all the deny-*)
2. added a permit-apim-unrestricted.xml to $fedora/data/fedora-xacml-policies/repository-policies/
3. modified fedora.fcfg -> ENFORCE-MODE to enforce-policies
4. finally added a POLICY datastream to each collection we wanted to hide (please see attachments taken from the islandora guide I think)
5. restarted fedora
Btw - using v11.1
Again, this was a shot in the dark and would like to learn more about xacml
Best regards!
Hi
Brian
--
You received this message because you are subscribed to the Google Groups "islandora" group.
To post to this group, send email to isla...@googlegroups.com.
To unsubscribe from this group, send email to islandora+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/islandora?hl=en.
Brian
--
You received this message because you are subscribed to the Google Groups "islandora" group.
To post to this group, send email to isla...@googlegroups.com.
To unsubscribe from this group, send email to islandora+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/islandora?hl=en.
Thanks Jonathan, is there a way to hide collections depending on role? What I’ve had success is using a combination of Collection View and Policy datastreams *and some cheating* so I feel like I’m missing something. I’d like to hide certain collections within a collection depending on role. Also, is there a way to restrict items that are returned from a search depending on role?
Best regards!
Search result filtering is not a trivial task. See last section:
https://wiki.duraspace.org/display/FCSVCS/Generic+Search+Service+2.2
I do not see this document for latest ver 2.3 online. You can download
gsearch 2.3 and get the latest document from there.
Serhiy