Skip to content
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

Updated get/update policies routes #74

Merged
merged 2 commits into from
Oct 15, 2023
Merged

Updated get/update policies routes #74

merged 2 commits into from
Oct 15, 2023

Conversation

mike-pisman
Copy link
Member

📑 Description

Updated routes to get/update policies and related tests

  • Added account_id query parameter to GET resource/{resource_id}/policies,
  • Deleted GET resource/{resource_id}/policy,
  • Updated PUT resource/{resource_id}/policy to resource/{resource_id}/policies/{policy_id}, removed all the conditions inside
  • Updated get_permissions/set_permissions tests in workspace/group test files to accommodate the changes described above

Updated Policy endpoints in Workspace and Group routes: Added account_id query parameter to GET resource/{resource_id}/policies, deleted GET resource/{resource_id}/policy, changed PUT resource/{resource_id}/policy to resource/{resource_id}/policies/{policy_id} and removed all the conditions inside
Updated tests to accomodate workspace/group route changes to get/update policies
@mike-pisman mike-pisman merged commit 6a950e6 into main Oct 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant