Skip to content

feat: get and update group IdP Sync settings #14647

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 14 commits into from
Sep 16, 2024
Merged

feat: get and update group IdP Sync settings #14647

merged 14 commits into from
Sep 16, 2024

Conversation

aslilac
Copy link
Member

@aslilac aslilac commented Sep 11, 2024

No description provided.

@aslilac aslilac changed the base branch from main to stevenmasley/org_group_sync September 11, 2024 18:38
Base automatically changed from stevenmasley/org_group_sync to main September 11, 2024 18:43
@Emyrk Emyrk marked this pull request as ready for review September 16, 2024 15:11
Comment on lines +54 to +57
if !api.Authorize(r, policy.ActionUpdate, rbac.ResourceIdpsyncSettings.InOrg(org.ID)) {
httpapi.Forbidden(rw)
return
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Until we find another solution, I'm doing rbac checks at the api level.

@aslilac
Copy link
Member Author

aslilac commented Sep 16, 2024

thanks for taking this the rest of the way! happy to see I was on the right track, but I was probably in over my head with the permissions stuff :p

@Emyrk Emyrk merged commit 5ed065d into main Sep 16, 2024
30 checks passed
@Emyrk Emyrk deleted the oh-crud branch September 16, 2024 17:01
@github-actions github-actions bot locked and limited conversation to collaborators Sep 16, 2024
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