Manage Roles
Create and manage roles on your Prividium chain.
Roles define access levels for users in Prividium. Each role groups permissions that determine what contracts and functions users can call through the Proxy. 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 (for example,
Trader
,Auditor
, orAdmin
). - Optionally add a short Description.
- Click Save.
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 description.
- Click Save.
- 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.
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.
Next Step
Continue to Permissions to define which contracts and functions each role can access.