Configure Role-Based Permissions
Manage the permissions of the System Administrator, Facility Administrator, Researcher and Collaborator user roles to restrict or allow the following actions:
• | Sign in to the BaseSpace Clarity LIMS |
• | Sign in to the API |
• | View and interact with certain features of the interface. |
• | Perform certain actions in the interface. |

Role-based permissions are controlled through the permissions-tool.jar tool, at /opt/gls/clarity/tools/permissions/.
Functionality includes the following commands:
• | listRoles—List all roles in the system. |
• | describeRole—List names and descriptions of all permissions in the system. |
• | createRole—Create a role. |
• | showSummary—List permissions assigned to each role in the system. |
• | listPermissions—List permissions assigned to a specific role. |
• | assignPermission—Assign a permission to a role. |
• | removePermission—Remove a permission from a role. |
The permissions-tool.jar tool function names and property names are case-sensitive. If you type the incorrect case, your command or property cannot be understood. '
There may be a delay (up to 20 minutes) before changes to some API-related permissions take effect.

List all user roles in the system:
java -jar permissions-tool.jar -a <apiUri> -u <username> -p <password> listRoles
Show permissions for a specific role:
java -jar permissions-tool.jar -a <apiUri> -u <username> -p <password> describeRole <rolename>
Create a role:
java -jar permissions-tool.jar -a <apiUri> -u <username> -p <password> createRole <rolename>
Show assigned permissions for all roles:
java -jar permissions-tool.jar -a <apiUri> -u <username> -p <password> showSummary
List names and descriptions of all permissions:
java -jar permissions-tool.jar -a <apiUri> -u <username> -p <password> listPermissions
Assign a permission to a role (the example assigns permission to create controls):
java -jar permissions-tool.jar -a <apiUri> -u <username> -p <password> assignPermission <rolename> Controls:create
Remove a permission from a role the example removes permission to create controls):
java -jar permissions-tool.jar -a <apiUri> -u <username> -p <password> removePermission <rolename> Controls:create
Usage
java -jar permissions-tool.jar -a <apiUri> -u <username> -p <password> <command> [<args>]
Options
-a |
--apiUri |
REST API base URI (ends with "/api/<version>/") Must be completed as: http://<servername>/api/v2/ |
-p |
--password |
LIMS password (required) |
-u |
--username |
LIMS sign in username (required) |

The sections below list LIMS permissions and actions, and the user roles to which each permission/action is assigned by default.
By default, System Administrators and Facility Administrators have all permissions listed.

The default role with AdministerLabLink permission is Administrator. This permission is added to the existing System Administrator & Facility Administrator roles.
The Collaborator role is based on the existing Collaborator role in LabLink v1.0.
Note: The existing Researcher role does not have the new permission and behaves similarly to the LabLink Collaborator role.
Action |
Permission Required |
System Administrator and Facility Administrator |
Collaborator |
---|---|---|---|
Sign in to Lablink |
CollaborationsLogin action |
Yes |
Yes |
Manage Project |
Projects create, read, update. |
Yes |
Yes |
Manage Sample |
Samples create, read, update. |
Yes |
Yes |
Manage User |
Users create, read, update. |
Yes |
No |
Manage Configuration |
Configuration update |
Yes |
No |
View the Configuration page |
AdministerLabLink |
Yes |
No |
View the User Management page |
AdministerLabLink |
Yes |
No |

Default roles with this permission: Administrator, Researcher
Allows: |
Result of denied permission |
||||||||||||||||||
|
Sign In screen
|

Default roles with this permission: Administrator
Allows: |
Result of denied permission |
||||||
|
Sign In screen
|

Default roles with these permissions: Administrator, Researcher, Collaborator
Action |
Allows: |
Result of denied permission |
||||||||||||||||||
|
|
Projects and Samples
Note: No permission is needed to upload files to a project |
||||||||||||||||||
|
|
Projects and Samples
|
||||||||||||||||||
|
|
Projects and Samples
|

Default roles with these permissions: Administrator, Researcher, Collaborator
Action |
Allows: |
Result of denied permission |
||||||||||||||||||||||||||||||||||||
|
|
Projects and Samples
Sample Management
|
||||||||||||||||||||||||||||||||||||
|
|
Projects and Samples
|
||||||||||||||||||||||||||||||||||||
The Sample:update permission is automatically granted to roles that have the Sample:create permission at the time of migration to Clarity LIMS v5.x. If you have removed create permissions from any default role, that role does not acquire the update permission. |
||||||||||||||||||||||||||||||||||||||
|
|
Projects and Samples
|

Default roles with these permissions: Administrator
Action |
Allows |
Result of denied permission |
||||||||||||||||||
|
|
Controls
|
||||||||||||||||||
|
|
Controls
|
||||||||||||||||||
|
|
Controls
|
||||||||||||||||||
Users with ClarityLogin permission can access the Consumables > Controls tab and view control sample details (read only). |

Default roles with these permissions: Administrator
Action |
Allows |
Result of denied permission |
||||||||||||||||||
|
|
Reagents
|
||||||||||||||||||
|
|
Reagents
|
||||||||||||||||||
|
|
Reagents
|
||||||||||||||||||
Users with ClarityLogin permission can access the Consumables > Reagents tab. They can also view, edit, and delete reagent lots, and add lots to existing kits. No additional ReagentKit permissions are required. |

Default roles with these permissions: Administrator
Action |
Allows |
Result of denied permission |
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
APILogin permission is required for role management. All users with ClarityLogin permissions can view and edit their own user details—except for assigning/removing roles. |

Default roles with these permissions: Administrator
Action |
Allows |
Result of denied permission |
||||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||||
|
|
Users and Clients
|
||||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||||
In the LIMS user interface, the term 'contact' has been replaced with 'client.' However, the API still uses the permission Contact. All users with ClarityLogin permission can view and edit their own user details—except for assigning/removing roles. |

Default roles with these permissions: Administrator
Action |
Allows |
Result of denied permission |
||||||||||||||||||
|
|
|
||||||||||||||||||
|
Contact:update permission is required to assign permissions to clients. |
|
||||||||||||||||||
|
|
This permission does not affect the display of clients in Project and Samples and Sample Accessioning screens. |
||||||||||||||||||
|
Clients with associated user details cannot be deleted. |
|
||||||||||||||||||
In the LIMS user interface, the term 'contact' has been replaced with 'client.' However, the API still uses the permission Contact. Users with ClarityLogin permission can view and edit their own client and user details. Clients can edit their own details—except for assigning/removing roles, without having update permission. |

Default roles with these permissions: Administrator
Action |
Allows |
Result of denied permission |
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
In the LIMS user interface, the term 'process' has been replaced with 'master step.' However, the API still uses the permission Process. |

Default roles with this permission: Administrator
Action |
Allows |
Result of denied permission |
|||||||||
|
|
|

Default roles with this permission: Administrator
Action |
Allows |
Result of denied permission |
||||||||||||
|
|
|

Default roles with this permission: Administrator, Researcher, Collaborator
Allows |
Result of denied permission |
|||||||||
|
Sample and Container Search
|

Default roles with this permission: Administrator, Researcher, Collaborator
Allows |
Result of denied permission |
|||||||||||||||
|
Sample Management
|

Default roles with this permission: Administrator
Allows |
Result of denied permission |
||||||||||||
|
Sample Management
|

Default roles with this permission: Administrator
Allows |
Result of denied permission |
|||||||||
|
Sample Management
|

Default roles with this permission: Administrator
Allows |
Result - permission granted |
|||||||||
|
Sample Management
|

Default roles with this permission: Administrator
Allows |
Result - permission granted |
||||||
|
Sample Escalation
|

Default roles with this permission: Administrator
Allows |
Result of denied permission |
||||||
|
Record Details
|

Default roles with this permission: None
Allows |
Result - permission granted |
||||||||||||
|
Assign Next Steps.
Record Details
|
||||||||||||
Modifications are limited to what is available on the Record Details screen for the step. Details such as sample placement or routing cannot be modified. Only steps completed after upgrading to LIMS v5.1 can be edited. Steps completed in v5.0 or earlier cannot be edited. Steps that were executed using the Process API cannot be edited. For details, see Modify Completed Step Details |