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

add means to specify authentication-only access control in policies file #35

Open
alaniwi opened this issue Jul 24, 2019 · 0 comments
Open

Comments

@alaniwi
Copy link
Contributor

alaniwi commented Jul 24, 2019

For open datasets, currently the policies file allows for an attribute_type="ANY" rule, but we need to distinguish between two cases:
(a) resource is completely open (available for anonymous access in addition to all authenticated users)
(b) resource is available to all users but requires authentication

If I have correctly understood, #34 will allow for the possibility of the filters making SAML authz queries regarding anonymous access, prior to querying about authenticated access only if necessary, which is a necessary prerequisite for implementing the above but does not in itself provide the means for the authorizationService to respond differently in these two cases. Maybe @watucker can confirm this?

If this is correct, then maybe the required steps are:

(1) decide what syntax in the policies file is appropriate to represent cases (a) and (b) above

(2) implement support for it in the authorization service

(3) in the THREDDS web.xml in the ESGF stack, remove the policyFiles entry that makes THREDDS inspect the policies file directly (causing it to bypass the call to the authorizationService in the case of an attribute_type="ANY" rule), so that all authz decisions are handled by the authorizationService.

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

No branches or pull requests

1 participant