-
Notifications
You must be signed in to change notification settings - Fork 887
chore(site): remove template ACL XService #10332
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
Conversation
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.
I have not been able to test because SSH connections to my workspace are hanging for some reason...but the code looks good to me.
const addUserMutation = useMutation(setUserRole(queryClient)); | ||
const updateUserMutation = useMutation(setUserRole(queryClient)); | ||
const removeUserMutation = useMutation(setUserRole(queryClient)); | ||
|
||
const addGroupMutation = useMutation(setGroupRole(queryClient)); | ||
const updateGroupMutation = useMutation(setGroupRole(queryClient)); | ||
const removeGroupMutation = useMutation(setGroupRole(queryClient)); |
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.
Do we need the three copies so we can have separate loaders/errors for each? Although, it does not look like we are showing the errors anywhere? I am not sure we were showing errors before though, so maybe we will not need to handle them in this PR.
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.
Do we need the three copies so we can have separate loaders/errors for each?
Exactly.
Although, it does not look like we are showing the errors anywhere? I am not sure we were showing errors before though, so maybe we will not need to handle them in this PR.
Yes, we didn't handle errors before but it is something on my radar
Related to #9941