Add strands command to docs repo #454
Merged
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.
Description
Adding the strands-command agents to the repo
This change introduces a minor change to the permissions of the strands-command. Before we were using the github get user permission api
permissionfield, which categorizes users into "admin", "write", "read", or "none". Instead I updated it to use therole_namefield so we can allow access to users based on their role name, specifically adding access for thetriagerole. This way we can be more permissive on who we give access to the agent to, without necessarily giving them write access to the rep.Example of this working: Unshure#1
Related Issues
N/A
Type of Change
Repo feature update
Checklist
mkdocs serveBy submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.