Permission
Permissions govern access to APIs and define menu items and features available to each application. Users have permissions due to roles within the .one system.
Permissions therefore regulate the ability to:
- invoke a service from an API;
- perform a specific operation within an application function (e.g. create a new user);
- view a certain menu item (e.g. see the Users item in the Settings menu of the onSales Backoffice app).
📄️ getPermission
Returns a single permission.
📄️ listPermissions
Returns a list of permissions.