Permission

The Permission folder provides APIs to manage and assign roles to users within a system. It includes the following API:

  • Assign Role API: This API allows assigning specific roles to users. Available roles include admin, superadmin, and view, which determine the level of access and privileges each user has in the system.

These APIs enable precise control over user permissions, ensuring that roles and responsibilities are clearly defined for effective system management.