[
https://issues.apache.org/jira/browse/AIRAVATA-3681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17683917#comment-17683917
]
Eroma edited comment on AIRAVATA-3681 at 2/6/23 7:58 AM:
---------------------------------------------------------
Test Environment: [https://django.seagrid.org/] and
[https://testdrive.airavata.org/]
Test Accounts: [[email protected]|mailto:[email protected]] (read-only-admin),
abey2021 (default), deveroma2017 (admin)
Test Cases
# Admin user creates and updates the EUP (Extended User Profile) - PASS
# Admin user logs in and can fill in the required details but are not directed
to the page like other user groups.
## Even though mandatory, admin group users can choose not to provide the
details in EUP and can navigate to the workspace, and settings without
providing the mandatory information. - PASS
# Read-only-admin tries to update the existing EUP by adding new fields
## All the buttons of already existing fields and 'Add new Field' and 'Save'
is disabled. But can view all existing fields. - PASS
# Read-only-admin user logs in and is directed to the page like for other user
group users, and cannot move past the EUP without providing mandatory
information.
## Similar to admin user group. Even though mandatory, read-only-admin group
users can choose not to provide the details in EUP and can navigate to the
workspace, and settings without providing the mandatory information. - PASS
# The default user logs in and don't have access to edit the EUP
## Yes, no access - PASS
# The default user logs in and the mandatory details are available to fill in.
This is mandatory.
## Yes, without providing mandatory information cannot move to Workspace or
Settings. - PASS
[~marcuschristie] Testcases 3, 4, 5 and 6 were run directly in
[https://testdrive.airavata.org/] . was getting the issue [1] when trying to
retrieve users in [https://django.seagrid.org/]
[1]
IamAdminServicesException(message='Error while retrieving user profile from IAM
backend, reason: RESTEASY004655: Unable to invoke request')
was (Author: eroma_a):
Test Environment: [https://django.seagrid.org/]
Test Accounts: [[email protected]|mailto:[email protected]] (read-only-admin),
abey2021 (default), deveroma2017 (admin)
Test Cases
# Admin user creates and updates the EUP (Extended User Profile) - PASS
# Admin user logs in and can fill in the required details but are not directed
to the page like other user groups.
## Even though mandatory, admin group users can choose not to provide the
details in EUP and can navigate to the workspace, and settings without
providing the mandatory information. - PASS
# Read-only-admin tries to update the existing EUP by adding new fields
# Read-only-admin user logs in and is directed to the page like for other user
group users, and cannot move past the EUP without providing mandatory
information.
# The default user logs in and don't have access to edit the EUP
# The default user logs in and the mandatory details are available to fill in.
This is mandatory.
> Disable 'Save' and 'Delete' buttons in Extended User Profile for
> read-only-admins
> ---------------------------------------------------------------------------------
>
> Key: AIRAVATA-3681
> URL: https://issues.apache.org/jira/browse/AIRAVATA-3681
> Project: Airavata
> Issue Type: Improvement
> Components: Django Portal
> Environment: https://django.seagrid.org/
> Reporter: Eroma
> Assignee: Marcus Christie
> Priority: Major
> Labels: Jan/2023
>
> Currently for read only admins, in Settings, buttons are disabled. Please do
> the same in Extended User Profile (EUP) as well.
>
> In EUP currently can delete individual fields and upon saving gets the
> message 'You don't have permission ...' - Functionality works but to keep
> with the current practice and to make more user friendly, disabling is the
> best.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)