Skip to content

Commands should request permissions based on scopes in decorated metadata #564

@adamedx

Description

@adamedx

Currently, users must know the permissions required for every command. Currently there are 497 (and counting!) permissions to choose from, so clearly this is an unreasonable expectation.

To address this, a solution like the following could be implemented:

  • The openapi specs in this repo should support the ability to decorate the API and thus the associated commands with the most likely required permission.
    • This decoration could be manual or (even better) automated based on authoritative sources
  • The generated command could then request this permission at runtime so that users would not have to do research.

AB#8191

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