Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Introduce ActionFactory::getActionInfo | daniel | 2023-09-20 | 1 | -0/+91 |
The new method encapsulates the fact that we currently have to instantiate action objects to determine which permission the action requires. This encapsulation reduces coupling in PermissionManager and allows us to easily change to a better way to create ActionInfo later. Eventually, ActionInfo should be constructed based on the action's object spec. This requires us to include the relevant information in all specs, in core and extensions. Change-Id: I707a165c41403ebd4a3edfc66c1595e1bd3a4087 |