[ https://issues.apache.org/jira/browse/AIRAVATA-2077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15515340#comment-15515340 ]
Eroma commented on AIRAVATA-2077: --------------------------------- Admin can also add a user role while keeping user-pending state. If an active state is existing for the user pending should be auto removed. Keeping the pending role misleads. > Add some validation for user-role changing > ------------------------------------------ > > Key: AIRAVATA-2077 > URL: https://issues.apache.org/jira/browse/AIRAVATA-2077 > Project: Airavata > Issue Type: Bug > Reporter: Lahiru Gunathilake > > Admin can remove user role from pending to nothing. I think we should not let > this because no user-role is not a valid state, either user has to be removed > or add a meaningful role (disable). > Main purpose of this issue is to add validation for user-roles. We saw this > mistake happen in new admin in phasta gateway. -- This message was sent by Atlassian JIRA (v6.3.4#6332)