-
Notifications
You must be signed in to change notification settings - Fork 180
Modify permissions to use SDK types where available #4686
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
Changes from 27 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
27fe479
Add plan for simplifying permissions types
denik 858a559
Replace per-resource permission types with shared Permission type
denik 26c9f1d
Use aliases_patch.py for backward-compat permission aliases
denik 4b19872
rm settings.local
denik a8221a8
update jsonschema_for_docs.json
denik d980f7a
rm PLAN
denik 9314ddd
Add backward-compat aliases for *PermissionLevel types in Python
denik 61b08e8
Add NEXT_CHANGELOG entry for #4686
denik 0b214a4
Use resource-specific SDK permission level types for bundle resources
denik d0569b5
undo yaml
denik 15367de
Define named non-generic permission types for each resource
denik 5ff1674
rm settings
denik 300c081
Use IamPermission for generic iam.PermissionLevel; drop named slice t…
denik e493014
Replace resources.Permission[iam.PermissionLevel] with resources.IamP…
denik b824f3c
Fix exhaustruct lint: add ForceSendFields to AccessControlRequest
denik 660aef2
Fix toAccessControlRequests to dereference pointer-to-slice
denik 419012d
update refschema
denik c622af0
Restore formatting and revert unrelated ssh changes
denik 79441e2
Remove unused ToAccessControlRequest methods and wrapper boilerplate
denik 7731212
Rename Permission -> PermissionT, IamPermission -> Permission to mini…
denik adfb3a0
Remove accidentally committed files
denik 71f5667
Update annotations.yml for Permission rename
denik b26d2aa
Regenerate schema after Permission rename
denik 5a7137c
Restore descriptions for resources.Permission in annotations
denik d82dc72
update next changelog
denik bff60d4
Remove unnecessary Permission aliases and clean up _flatten_spec in P…
denik 1f1ae53
Revert unnecessary Python codegen changes
denik 9260735
add NEXT_CHANGELOG
denik c16028d
Merge branch 'main' into denik/simpler-permissions
denik File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Is this a user-visible change now? We can clarify that we re-ordered Python enums