Manage Roles
Roles are the basis of role-based access control (RBAC) in Prividium™: a role is a named set of permissions that determines what contracts and functions a user can call through the Prividium™ RPC. Administrators create and manage roles in the Admin Dashboard.
1. Open the Roles page
- Go to the Admin Dashboard at
http://localhost:3000. - Select Roles from the sidebar.
- You will see a list of existing roles and the number of users assigned to each.
2. Create a new role
- Click Add Role.
- Enter a Role Name (e.g.,
Trader,Auditor).- The name is required and must be at most 25 characters.
- System permissions (optional):
- Full Sequencer RPC Access: Bypasses all permission checks and allows unrestricted RPC access. Required for contract deployment.
- Full Read Access: Grants access to read all chain data (blocks, transactions, logs).
- Admin Read Access: Grants read-only access to the admin panel. Users can view configuration but cannot create, update, or delete resources.
- See System Permissions for detailed information.
- Click Create.
The new role appears in the list and is available for assignment to users.
3. Edit or delete a role
-
To rename or update a role:
- Select the role from the list.
- Modify the name or system permissions.
- Click Save.
Renaming is safe: a role keeps its identity when renamed, so every user assignment and contract permission that references it stays intact. A role name only needs to be unique within its own scope — the zone and each organization each have their own namespace, so two organizations can both have a role called
Trader. -
To delete a role:
- Click the Delete icon next to the role name.
- Confirm the deletion.
Note: A role cannot be deleted if it is still assigned to active users. Reassign or remove those users first.
4. Assign roles to users
- Go to Users in the sidebar.
- Select the user you want to update.
- Under Roles, select one or more roles from the list.
- Click Save.
Each user can hold multiple roles. A user’s effective permissions are the combination of all permissions granted to their assigned roles.
Roles can also be set as organization default roles. When a user is created within an organization (e.g., by an M2M application), they are automatically assigned the organization’s default roles. See Organizations for details.
5. Common role examples
| Role | Purpose | Typical Permissions |
|---|---|---|
| Admin | Full system management | Manage users, roles, permissions, and disclosure settings |
| Trader | Executes transactions | Write access to token contracts, trading functions |
| Auditor | Read-only observer | View contract data and public disclosures |
| Operator | System maintainer | Read/write access to operational contracts only |
You can customize role names and scopes to fit your organization’s structure.
6. Best practices
- Keep Admin roles limited to a small, trusted group.
- Use descriptive names that match your organization’s workflow.
- Avoid overlapping permissions across unrelated roles to maintain clarity.
- Review roles periodically as your deployment evolves.