List User Access Permissions
Response
Array of access permission objects
Example Request
Example Response
Get Access Permissions by Role
Path Parameters
The unique identifier of the role
Response
Array of access permission objects assigned to the specified role
Example Request
Example Response
Error Responses
Returned when the specified role ID does not exist
Role-Based Access Control
Access permissions define which menu items, features, and operations are available to users based on their assigned role:ADMIN
Full system access including user management, configuration, and all business operations
USER
Standard access to sales, purchases, customers, and basic reports
ALMACENERO
Limited access focused on inventory management, receiving, and stock control
Access permissions are managed through the many-to-many relationship between roles and accesos in the database. Each role can have multiple access permissions, and each access permission can be assigned to multiple roles.
Related Endpoints
- List Roles - View all available roles
- User Management - Assign roles to users
- Login - Returns user’s access permissions upon authentication