-
Notifications
You must be signed in to change notification settings - Fork 304
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
HPCC-31202 File permission dialog fails to open #18286
HPCC-31202 File permission dialog fails to open #18286
Conversation
@jeclrsg can you please review, i am having some trouble populating the user and group drop downs. |
105ebd5
to
6a2e39c
Compare
https://track.hpccsystems.com/browse/HPCC-31202 |
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.
@kunalaswani I think something like the comment about the React.useEffect where you currently have the fetchUsersAndGroups
function will sort out the userOptions and groupOptions you mentioned
6a2e39c
to
ce6f1e0
Compare
ce6f1e0
to
1282621
Compare
cb0100c
to
455fd9a
Compare
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.
@kunalaswani Noticed a couple small things that should be changed. Really just one thing, but it's in a couple or three different places
455fd9a
to
e5f1b7e
Compare
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.
@kunalaswani This looks like it would be checking the file permissions correctly. Had a question about whether that error message should be added to the translations file? But I'd approve otherwise
setFilePermissionResponse(response.FilePermissionResponse.UserPermission); | ||
} catch (error) { | ||
logger.error(error); | ||
setErrorMessage("Error occurred while fetching file permissions."); |
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.
Should this error message be added to the translation file?
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.
Yes i think it should, i will add it to the file.
@kunalaswani seem comment above about translation |
When checking file permissions for file scopes, dialog was not opening. Dialog now opening for users to check permissions. Signed-off-by: Kunal Aswani <[email protected]>
e5f1b7e
to
fc4316e
Compare
@ghalliday error message added to translations. |
When checking file permissions for file scopes, dialog was not opening. Dialog now opening for users to check permissions.
Type of change:
Checklist:
Smoketest:
Testing: