# Access Control

## Registering Actions

When an Action has been added to a Controller, it needs to be registered first to be able to use it.

To register Actions, do the following steps:

1. In the navigation bar of the application, click "Settings" >"Access Assignment"
2. Click "Synch" Button in the Toolbar
3. Select the respective Controller in the "Resource Group" Dropdown List
4. Check all the Actions you want to add
5. Click the "Save" Button in the Toolbar

<figure><img src="https://4150968783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FE2jCdhU9OpCbUJl0tqSd%2Fuploads%2FcrCX46QNvLFmXrNXidEM%2Fimage.png?alt=media&#x26;token=4de36c15-a3fc-468a-97a3-09c7860358fa" alt=""><figcaption></figcaption></figure>

## Linking Actions to Roles

When Actions are being registered, they are linked to the Role "ADMINISTRATOR", which is the default value of the User Role drop down:

<figure><img src="https://4150968783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FE2jCdhU9OpCbUJl0tqSd%2Fuploads%2FjfVlIpIIzS7QVgwD0bWD%2Fimage.png?alt=media&#x26;token=1274b522-9ef1-42df-99e2-08f2de76960f" alt=""><figcaption></figcaption></figure>

"ADMINISTRATOR" is the Role that has access to all Actions. However, not all Users are allowed to use all Actions, which is why a User can be assigned different Roles (see [Account Management](account-management)).

To link Actions to Roles, i.e. to specify which Actions a specific Role is allowed to execute, do the following steps:

1. Select the Role in the User Role drop down
2. Check all the Actions the selected Role is allowed to use and make sure that Actions they may not executed are unchecked
3. Click the "Save" Button in the Toolbar&#x20;

## Maintaining Roles

The "Access Controls" page is also the place where Roles can be created, edited and deleted. In the following, each of these processes will be described step-by-step:

### Creating a New Role

1. Click the "Roles" Button and select "Add New Role.." from the drop down options
2. Enter the Name of the new Role and optionally write a Description
3. Click the "Save" Button in the Modal

<figure><img src="https://4150968783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FE2jCdhU9OpCbUJl0tqSd%2Fuploads%2FvLEx9hyDKNLuvMHmVYmo%2Fimage.png?alt=media&#x26;token=e47ebf9b-3e4d-4422-b3cd-4b350336d92a" alt=""><figcaption></figcaption></figure>

### Editing an Existing Role

1. Click the "Roles" Button and select "Add New Role.." from the drop down options
2. Edit the Description (Name cannot be edited)
3. Click the "Update" Button in the Modal

<figure><img src="https://4150968783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FE2jCdhU9OpCbUJl0tqSd%2Fuploads%2FPe2dE3keM57e9IMsY0yq%2Fimage.png?alt=media&#x26;token=d63e76df-85dc-4316-b8bd-dddc1cfd7c0c" alt=""><figcaption></figcaption></figure>

### Deleting an Existing Role

1. Make sure that the Role you want to delete is selected in the User Role drop down
2. Click the "Roles" Button and select "Delete Role.." from the drop down options
