Check if current user has a specific permission
Permission name to check
True if user has the permission
Check if current user has multiple permissions
Array of permission names to check
If true, user must have all permissions. If false, any permission is sufficient.
Permission check results
Get all permissions for the current user
User permissions including roles
Check if current user can access a specific resource
Type of resource (e.g., "project", "file")
ID of the resource
Action to check (e.g., "read", "update")
True if user can access the resource
Get permissions for a specific resource
Type of resource
ID of the resource
Resource permissions
Permissions Module
Role-based access control and permission checking.
Remarks
This module is pending backend implementation. All methods will throw NotImplementedError until the backend endpoints are available.