Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISLANDORA-548 Updated curl call in ObjectHelper #88

Merged
merged 1 commit into from Mar 28, 2012

Conversation

jonathangreen
Copy link

The ObjectHelper.inc file uses the deprecated API-A Lite API, i.e. localhost:8080/fedora/get/{pid}/{dsID}

This causes problems when XACML policies are in place that require access to certain datastreams based on fedoraRole. Basically, despite sending accurate credentials in the GET request, the fedoraRole is not recognized by fedora's AttributeFinderModule, and a user cannot access a particular datastream. The protected datastreams, however, are viewable in Fedora's admin console (while using the same credentials) since that uses the REST API.

Updated the curl call to use the new REST API.

The ObjectHelper.inc file uses the deprecated API-A Lite API, i.e. localhost:8080/fedora/get/{pid}/{dsID}

This causes problems when XACML policies are in place that require access to certain datastreams based on fedoraRole. Basically, despite sending accurate credentials in the GET request, the fedoraRole is not recognized by fedora's AttributeFinderModule, and a user cannot access a particular datastream. The protected datastreams, however, are viewable in Fedora's admin console (while using the same credentials) since that uses the REST API.

Updated the curl call to use the new REST API.
jonathangreen pushed a commit that referenced this pull request Mar 28, 2012
ISLANDORA-548 Updated curl call in ObjectHelper
@jonathangreen jonathangreen merged commit 57fd0cd into Islandora:6.x Mar 28, 2012
daniel-dgi pushed a commit to daniel-dgi/islandora that referenced this pull request Nov 2, 2015
Create user-documentation folder and 2xfor1x stub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant