airavata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcus Christie (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRAVATA-3111) When adding the very first user to a new user group, role 'Admin' does not get saved.
Date Fri, 12 Jul 2019 14:50:00 GMT

    [ https://issues.apache.org/jira/browse/AIRAVATA-3111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16883872#comment-16883872
] 

Marcus Christie commented on AIRAVATA-3111:
-------------------------------------------

Looks like this is a bug in GroupManagerService.createGroup: it only adds members, not admins:
https://github.com/apache/airavata/blob/staging/airavata-services/profile-service/profile-service-server/src/main/java/org/apache/airavata/service/profile/handlers/GroupManagerServiceHandler.java#L60


> When adding the very first user to a new user group, role 'Admin' does not get saved.
> -------------------------------------------------------------------------------------
>
>                 Key: AIRAVATA-3111
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-3111
>             Project: Airavata
>          Issue Type: Sub-task
>          Components: Django Portal
>    Affects Versions: 0.18
>         Environment: https://django.staging.seagrid.org
>            Reporter: Eroma
>            Assignee: Marcus Christie
>            Priority: Major
>
> 1. Clicked on create new group
> 2. Add group name
> 3. Search for a user and select the user, user get listed
> 4. Change the role to admin
> 5. Click submit
> 6. Return to the group again by clicking 'Edit'
> 7. The added user is with role 'Member'. Not 'Admin' as you selected. If added more users
at the very first time and change their roles, none of them are saved as 'Admin'
> 8. If you change the role second time and submit, then it saves as 'Admin'



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Mime
View raw message