- UI permissions grant users access to parts of the Lucidworks Search UI.
- API permissions grant users access to specific API commands for specific REST API endpoints.
Roles and environments
The roles that Lucidworks Search clients have depend on the type of environment.Default roles
At initial startup, Lucidworks Search creates a set of default roles for common types of users.admin
The admin role is the equivalent to the Unixroot or superuser.
It allows full access to all Lucidworks Search services:
developer
The developer role has all the read/write permissions required for building and running applications. This role cannot add users; user management is handled by Lucidworks.The developer role is updated for Lucidworks Search 5.10 to exclude permissions for creating, editing, and deleting Spark jobs, JavaScript stages in querying and indexing pipelines, and custom index and query stages. The new roles including these permissions are created when upgrading to Lucidworks Search 5.10, but the existing developer role is not updated in order to prevent unexpected changes.
The permission
PATCH:/users/{id}:id=#ID uses the variable value #ID as a placeholder for the currently logged-in user ID. It is included so the Lucidworks Search UI “change password” feature is available to native realm users.readonly
The readonly role can view everything in Fusion but cannot modify configurations. Lucidworks Search customers must make changes in the appropriate stage environment, after which Lucidworks will promote the change to production.rules
The rules role provides query rewriting API access to all Lucidworks Search apps.search
The search role has read-only query and write-only signal API access to the Lucidworks Search “default” collection. These permissions are required for search applications, for example, for App Studio.The permission
PATCH:/users/{id}:id=#ID uses the variable value #ID as a placeholder for the currently logged-in user ID. It is included so the Lucidworks Search UI “change password” feature is available to native realm users.webapps-role
The webapps role can list and download Lucidworks Search apps.Role information
Lucidworks Search stores role information in Apache ZooKeeper. Each role in a ZooKeeper entry contains the following:id– ID string, created by Lucidworks Searchname– Role name stringdesc– Text description; optionalpermissions– A list of Lucidworks Search permission specificationsui-permisions– A list of names of Lucidworks Search UI componentscreated-at– Timestamp; created by Lucidworks Searchupdated-at– Timestamp for last edit; created by Lucidworks Search
Manage roles
Only users with admin privileges can manage roles. In Lucidworks Search environments, Lucidworks is responsible for managing roles.Assign job permissions
ImportantThe colon character
: is a special character used in the permissions engine, so you must use an asterisk * in the command.<JOB_NAME> field:
Assign job permissions in the UI
The command to assign permissions for a specific job in the UI is an exact call, so you must specify the<JOB_NAME>.
For example, if the job name is testing-call, two example commands are:
Assign permissions in the API
The command to assign permissions to a job using an API does not require you to specify the<APP_NAME>.
Two example commands are: