-
Notifications
You must be signed in to change notification settings - Fork 7
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
EOSC Node AAI #121
EOSC Node AAI #121
Conversation
Instead show a 403 error, that looks better
We would benefit from some automated testing here as we are bit blind on whether this works or not :( |
Filter groups based on a regular expression for matching the personal projects of EOSC Node AAI
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please check comment
Works like a charm. The default regular expression for personal group is OK? In testing AAI is working this: And maybe we could tune
...but that is just a cosmetics and overrode by html customizations anyway. |
I think we can just define login_service in the EOSC one to something like "EOSC AAI", no need to define a default |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! and tested by @valtri
Summary
Implement the support for the personal projects as the primary group of the user so this can be properly reported in accounting.
Creates a new
EOSCNodeAuthenticator
that will try to get the primary group of the user from the entitlements by matching apersonal_project_re
regular expression with default value:If the RE contains a group, the match will be used as the name for the primary group of the user. If it does not match, the primary group will be the first group of the user that matches the
allowed_groups
.Sample configuration
This will match
urn:mace:egi.eu:group:fedcloud-users#sso.egi.eu
and returnusers
as primary groupWithout groups in the re:
This will match
urn:mace:egi.eu:group:fedcloud-users#sso.egi.eu
and returnurn:mace:egi.eu:group:fedcloud-users#sso.egi.eu
as primary groupRelated issue :