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