Add IAM permissions and roles documentation - #278
Merged
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request introduces a comprehensive documentation guide for the Identity and Access Management (IAM) system, covering permission structures, role bindings, and project-scoped access, along with Python code templates for service integration. The review feedback identifies several improvements for the provided code examples, including correcting an API endpoint URL, implementing wildcard support for permission validation, following Python best practices for decorators using functools.wraps, and adding robust error handling in the authentication middleware.
Document permission structure (service.resource.action), wildcard usage, and deny-by-default security model. Explain role and permission bindings, project-scoped access, and token introspection flow. Include API examples for creating permissions, roles, and bindings. Add service integration guide with Python code examples for permission checks and middleware. Cover best practices, error handling, and important notes on caching and access control.
phantomii
force-pushed
the
iam-permissions-docs
branch
from
March 31, 2026 10:08
92d7868 to
e27024d
Compare
slashburygin
approved these changes
Mar 31, 2026
gmelikov
approved these changes
Mar 31, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Document permission structure (service.resource.action), wildcard usage, and deny-by-default security model. Explain role and permission bindings, project-scoped access, and token introspection flow. Include API examples for creating permissions, roles, and bindings. Add service integration guide with Python code examples for permission checks and middleware. Cover best practices, error handling, and important notes on caching and access control.