You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@airavata.apache.org by "Marcus Christie (Jira)" <ji...@apache.org> on 2019/10/29 19:34:00 UTC
[jira] [Commented] (AIRAVATA-3249) BUG: For a user who created
account Using gmail through login, shows 'Activate user' in Manage Users
[ https://issues.apache.org/jira/browse/AIRAVATA-3249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16962341#comment-16962341 ]
Marcus Christie commented on AIRAVATA-3249:
-------------------------------------------
So I think I see the issue.
- user logs in through CILogon in PGA
- account is created in Keycloak, but user has no access
- PGA doesn't create a user profile for the user since the user has no access
-- this is different from Django. On a user's first login (coming through CILogon) a user profile is initialized.
- in Django admin cannot just add the user to groups since the user has no user profile
This can be fixed by calling initializeUserProfile() whenever a user logs in, regardless of whether they have group based access.
> BUG: For a user who created account Using gmail through login, shows 'Activate user' in Manage Users
> ------------------------------------------------------------------------------------------------------
>
> Key: AIRAVATA-3249
> URL: https://issues.apache.org/jira/browse/AIRAVATA-3249
> Project: Airavata
> Issue Type: Sub-task
> Components: Django Portal
> Affects Versions: 0.18
> Environment: https://django.staging.seagrid.org
> https://staging.seagrid.org/
> Reporter: Eroma
> Assignee: Marcus Christie
> Priority: Major
> Fix For: 0.19
>
> Attachments: Screen Shot 2019-10-29 at 12.31.28 PM.png
>
>
> 1. A new user clicks CILogon from PGA portal and selects google and enters gmail account details.
> 2. For the gateway admin, in Django portal shows, the new account as an account that didn't verify the email yet.
> 3. For users who come through CILogon this should not be the case.
> 4. They do not need to verify the email.
> 5. Also the gateway admin did not get any mail notification on the new account creation.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)