You are viewing a plain text version of this content. The canonical link for it is here.
Posted to custos@airavata.apache.org by GitBox <gi...@apache.org> on 2020/10/08 19:54:22 UTC
[GitHub] [airavata-custos-portal] eroma2014 opened a new issue #38: Ability to add multiple users at once to a group wit the role of admin or member.
eroma2014 opened a new issue #38:
URL: https://github.com/apache/airavata-custos-portal/issues/38
<!--
This form is for bug reports and feature requests ONLY!
For general questions and troubleshooting about custos, please ask/look for answers here:
- custos mailing list: https://lists.apache.org/list.html?custos@airavata.apache.org
Issues specific to *airavata*, *airavata-django-portal*, *airavata-mft*, should be created in the repository they belong to (e.g. https://github.com/apache/airavata)
-->
[NOTE]: # ( ^^ Provide a general summary of the issue in the title above. ^^ )
## Description
Currently when adding users to a group, need to add them one by one.
Method to search and add users at once.
Listing users as we are doing now is not user friendly. We should have a way of searching for users, especially when a gateway would have hundreds or thousands of users.
Maybe the users would implement this in their portal but we should support it within the API.
[NOTE]: # ( Describe the problem you're encountering. )
## Steps to Reproduce
[NOTE]: # ( Include details description or commands to reproduce. )
## Expected Behaviour
[NOTE]: # ( Tell us what you did and what you expected to happen and what you instead saw. )
## Your Environment
https://demo.gateway.custos.scigap.org/
[TIP]: # ( Include as many relevant details about your environment as possible. )
[TIP]: # ( Mention Custos Branch or release version, runtime and compiler version )
* Custos branch or release version used:
* Operating system and version:
## Additional Context
[TIP]: # ( full error message, exception listing, stack trace, logs or other information which can assist in diagnosing the bug. )
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airavata-custos-portal] machristie commented on issue #38: Ability to add multiple users at once to a group wit the role of admin or member.
Posted by GitBox <gi...@apache.org>.
machristie commented on issue #38:
URL: https://github.com/apache/airavata-custos-portal/issues/38#issuecomment-705821456
I'm pretty sure this is related to this bug in Keycloak where it prefers parsing `name` over using `given_name` and `family_name` claims: https://issues.redhat.com/browse/KEYCLOAK-10932
We worked around this by explicitly mapping given_name to firstName and family_name to lastName using a Keycloak Attribute Mapper. From our internal CILogon notes:
> Add the following attribute mappers
> - family_name
> - name: family_name
> - Mapper Type: Attribute Importer
> - claim: family_name
> - User Attribute Name: lastName
> - given_name
> - name: given_name
> - Mapper Type: Attribute Importer
> - claim: given_name
> - User Attribute Name: firstName
>
> Claim mapping documentation: http://www.keycloak.org/docs/2.5/server_admin/topics/identity-broker/mappers.html
That link is broken, but this one works: https://www.keycloak.org/docs/4.8/server_admin/index.html#_mappers
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airavata-custos-portal] machristie edited a comment on issue #38: Ability to add multiple users at once to a group wit the role of admin or member.
Posted by GitBox <gi...@apache.org>.
machristie edited a comment on issue #38:
URL: https://github.com/apache/airavata-custos-portal/issues/38#issuecomment-705821456
commented on the wrong issue, I've moved the comment to https://github.com/apache/airavata-custos-portal/issues/39#issuecomment-708490159
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airavata-custos-portal] machristie commented on issue #38: Ability to add multiple users at once to a group wit the role of admin or member.
Posted by GitBox <gi...@apache.org>.
machristie commented on issue #38:
URL: https://github.com/apache/airavata-custos-portal/issues/38#issuecomment-705821456
I'm pretty sure this is related to this bug in Keycloak where it prefers parsing `name` over using `given_name` and `family_name` claims: https://issues.redhat.com/browse/KEYCLOAK-10932
We worked around this by explicitly mapping given_name to firstName and family_name to lastName using a Keycloak Attribute Mapper. From our internal CILogon notes:
> Add the following attribute mappers
> - family_name
> - name: family_name
> - Mapper Type: Attribute Importer
> - claim: family_name
> - User Attribute Name: lastName
> - given_name
> - name: given_name
> - Mapper Type: Attribute Importer
> - claim: given_name
> - User Attribute Name: firstName
>
> Claim mapping documentation: http://www.keycloak.org/docs/2.5/server_admin/topics/identity-broker/mappers.html
That link is broken, but this one works: https://www.keycloak.org/docs/4.8/server_admin/index.html#_mappers
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org