RBAC for ChatOPS should also apply to help
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 6.5k
- Forks
- 787
- PR merge metrics
- No merged PRs in 30d
Description
Just finished watching the AHH and when you get to RBAC for ChatOPS (I know it's awhile off) I though it should really cover help too as with different levels of technical and non-technical users possibility being in ChatOPS having things like the following:
! st2 executions get {{ id }} - Retrieve details for a single execution.
! st2 executions re-run {{ id }} - Re-run an action execution.
! st2 executions show {{ id }} - Retrieve details for a single execution.
! st2 get execution {{ id }} - Retrieve details for a single execution.
! st2 list actions - List available StackStorm actions.
! st2 list actions from {{ pack }} - List available StackStorm actions.
! st2 list executions - List available StackStorm executions.
! st2 list executions for action {{ action }} - List available StackStorm executions.
! st2 list executions with status {{ status }} - List available StackStorm executions.
! st2 list rules - List available StackStorm rules.
! st2 list rules from {{ pack }} - List available StackStorm rules.
! st2 list sensors - List available StackStorm sensors.
! st2 list sensors from {{ pack }} - List available StackStorm sensors.
! st2 re-run execution {{ id }} - Re-run an action execution.
! st2 show execution {{ id }} - Retrieve details for a single execution.
Showing up in help it would be really confusing for someone from say from finance, also deployment of packs via these commands could lead to rather bad things if the user did not really understand the impact.
! pack deploy {{packs}} - Download StackStorm packs via ChatOps
! pack deploy {{packs}} from {{repo_url}} - Download StackStorm packs via ChatOps
Jon.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating StackStorm's ChatOps command and help handling, then trace the existing RBAC behavior; the issue names no files or tests. Define which help entries and pack deployment commands each role may see or invoke, with completion meaning unauthorized commands and sensitive help are consistently excluded.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- authorization, cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100