Conversation
…authz_role_assign Co-authored-by: intel352 <77607+intel352@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add documentation for step.authz_add_policy, step.authz_remove_policy, and step.authz_role_assign
docs: document step.authz_add_policy, step.authz_remove_policy, step.authz_role_assign
Mar 12, 2026
There was a problem hiding this comment.
Pull request overview
Updates the README so all step types declared by the plugin manifest are discoverable and have usage guidance, focusing on the runtime policy-mutation steps for Casbin-backed RBAC.
Changes:
- Expand the Capabilities table to list all four provided step types.
- Add documentation sections for
step.authz_add_policyandstep.authz_remove_policy, including config and output examples. - Add documentation for
step.authz_role_assign, including config fields and examples for add/remove role mappings.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Contributor
|
@copilot apply changes based on the comments in this thread |
…g policy row shape Co-authored-by: intel352 <77607+intel352@users.noreply.github.com>
Contributor
Author
Applied both reviewer suggestions in commit 87bda79:
|
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.
plugin.jsondeclares four step types but README only documentedstep.authz_check_casbin, leaving the three runtime policy-mutation steps undiscoverable.Changes
step.authz_add_policy— config reference (module,rule), static and Go-template rule examples, success output (authz_policy_added,authz_rule)step.authz_remove_policy— same shape as add; success output usesauthz_policy_removedstep.authz_role_assign— config table coveringmodule,action("add"/"remove"), andassignments; three examples: static assign, template-driven assign, revokeTemplate-driven tenant onboarding example:
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.