Skip to content

RBAC Not working properly for pack installations #4990

@hnanchahal

Description

@hnanchahal

SUMMARY

I have a role defined for the pack and have pack_all permission but when i try to install it errors stating that the access to action_execute for packs.install is missing.
If i add that, that opens up pack install/uninstall access for all packs even those not assigned to the role.

role.yaml: |

name: “role”
description: “”
enabled: true
permission_grants:
-
resource_uid: “pack:automation”
permission_types:
- “pack_all”
- “sensor_type_all”
- “action_all”
- “action_alias_all”
- “rule_all”

STACKSTORM VERSION

3.2.0

OS, environment, install method

Kubernetes, Stackstorm HA

Expected Results

pack_all role should allow the user to install/uninstall and register the pack for which the role is assigned.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions