Permission
Users are granted permissions through the roles assigned to them within the .one system.
Permissions control access to APIs and define the available menu items and features for each application.
An application permission specifies how a user can interact with a given feature.
In particular, permissions determine:
- whether an API service can be invoked;
- whether a specific operation within an application feature can be performed (e.g., creating a new user in the page listing the users of an organization);
- whether a specific menu item is visible.
📄️ getPermission
Returns a single permission.
📄️ listPermissions
Returns a list of permissions.