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
ACCT-4459: Support for domain scoped roles #1095
Merged
Merged
Changes from 14 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
1972534
ACCT-4459: Add initial implementation of Policy structs
3ee7457
ACCT-4459: Add support to create members with policies
1028adb
ACCT-4459: Add Permission Group APIs and move permission/resource gro…
61f081f
ACCT-4459: Add resource group utility methods
caec0ba
ACCT-4459: Added create account member with policies utility method
8a83a0f
ACCT-4593: Add WIP script to call relevant endpoints for zola/nonzola…
3c87263
ACCT-4593: Refactor to reduce clutter, list out more endpoints to test
402e980
ACCT-4459: Add account_members_test
4e222dc
ACCT-4459: Add validation to Update and test
cf6756d
ACCT-4459: Rename methods for backwards-compat
53c41b8
ACCT-4459: Add resource group documentation and testing
026ece7
ACCT-4459: Add permission group testing and update documentation
09ca723
ACCT-4593: Keep policies and roles methods, clean up others
b29d54e
ACCT-4593: Remove internal testing script
aad7838
ACCT-4459: Resolve lint errors and file structure
5e812bd
ACCT-4459: gofmt
bd5a17f
ACCT-4459: end comments in periods
c4f8f2e
ACCT-4459: Move CreateAccountMember methods to new experimental format
3a517bb
ACCT-4459: Remove utility methods
78850c0
simplify method usage and params
jacobbednarz 44f1170
permission_group: simplify `Get`/`List` methods and reuse
jacobbednarz 0c76040
test cleanup
jacobbednarz e4be156
permission_groups: more validation
jacobbednarz 5f45d74
update changelog to reflect method param changes
jacobbednarz 06f2fc7
add missing `errors`
jacobbednarz 6f4b50f
Merge branch 'master' into imobbs/ACCT-4459-domain-scoped-roles
jacobbednarz File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
if we're overhauling the invitations, let's update
CreateAccountMember
method signature to match the experimental client. this will also allow you to cut down on some of the boilerplate code we're repeating and putting intoCreateAccountMemberInternal
.(incomplete but hopefully enough to get you started example)
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.
Good call, thanks! Can you confirm that this is the right way to go about things?
CreateAccountMember
to match the experimental clientCreateAccountMemberInternal
methodCreateAccountMemberWithStatus
,CreateAccountMemberWithRoles
, etc) to just callCreateAccountMember
- the alternative I supposed is just removing the utility methods?Here's my current
CreateAccountMember
impl, let me know if it looks okay and the above is correct and I'll push :)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.
looks spot on! nice one.