Skip to content

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

Merged
merged 5 commits into from
Oct 19, 2023
Merged

Conversation

BrunoQuaresma
Copy link
Collaborator

Related to #9941

@BrunoQuaresma BrunoQuaresma requested a review from a team October 18, 2023 17:51
@BrunoQuaresma BrunoQuaresma self-assigned this Oct 18, 2023
@BrunoQuaresma BrunoQuaresma requested review from Parkreiner and removed request for a team October 18, 2023 17:51
@code-asher code-asher removed the request for review from Parkreiner October 19, 2023 17:32
Copy link
Member

@code-asher code-asher left a 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.

Comment on lines +27 to +33
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));
Copy link
Member

@code-asher code-asher Oct 19, 2023

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.

Copy link
Collaborator Author

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

@BrunoQuaresma BrunoQuaresma merged commit 557adab into main Oct 19, 2023
@BrunoQuaresma BrunoQuaresma deleted the bq/refactor-template-acl branch October 19, 2023 17:59
@github-actions github-actions bot locked and limited conversation to collaborators Oct 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants