-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug/wp 47 fix shared workspace manage team modal #922
Bug/wp 47 fix shared workspace manage team modal #922
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #922 +/- ##
==========================================
+ Coverage 63.70% 63.71% +0.01%
==========================================
Files 431 431
Lines 12433 12438 +5
Branches 2594 2597 +3
==========================================
+ Hits 7920 7925 +5
Misses 4292 4292
Partials 221 221
Flags with carried forward coverage won't be shown. Click here to find out more.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Functionality works as expected. Currently the move
task also fails as a guest user. I think the move
button also needs to be disabled since a user cannot do a move operation when they don't have modify permissions on files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks for updating those unit tests as well
@shayanaijaz I added the same 'isGuest' check to the move function. Guest users can no longer move files. The button is disabled for Guest users. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks for the additions
Overview
In 'Shared Workspace':
Related
Changes
isGuest
' field which uses theauthenticatedUserQuery
to determine if a user is a guest.canRename
andcanTrash
checkisGuest
; if that is True, then those buttons are disabled.Testing
UI
Disable 'Rename' and 'Trash' for Guest
https://github.com/TACC/Core-Portal/assets/35277477/b41396be-86bc-4d2a-80ae-fadeaff350c5
changes to 'Update' button
Notes