Problem
StackState roll-based access control (RBAC) is configured using the StackState CLI. Saving a RBAC subject's scope that included the use of (double) quotes result in an error. No RBAC subject is created in StackState.
Example:
sts -v subject save stackstateManager 'label = "StackState" AND type = "Business Application"'
Results in:
usage: cli.py [-h] [-v] [-i [INSTANCE]] [-c [CLIENT]] [--table-format [{fancy_grid,github,grid,html,jira,latex,latex_booktabs,latex_raw,mediawiki,moinmoin,orgtbl,pipe,plain,presto,psql,rst,simple,textile,tsv,youtrack}]] {graph,sync,topic,serverlog,script,stackpack,event,datasource,metric,topology,permission,subject} ... cli.py: error: unrecognized arguments: StackState AND type = Business Application
Cause
The used quotes are not handled properly by the CLI.
Affects
- CLI release version 1.15.0
- CLI release version 4.0.0
Solution
The issue is resolved in CLI release 4.0.1.
Comments
0 comments
Please sign in to leave a comment.