# Managing Permissions

Permissions in JMap are divided into two families: permissions for the users of applications (Pro, Web, NG and Survey) and permissions for the administrators (JMap Admin).

## User permissions

User permissions determine what the users can do inside JMap Pro, JMap Web, and JMap Survey applications.

The following table presents the different permission groups that are available for the users.

<table data-header-hidden><thead><tr><th width="191.5"></th><th></th></tr></thead><tbody><tr><td>Permissions on projects</td><td>See section <a href="../../resources-projects/configuring-projects/project-permissions">Project Permissions</a> for more information.</td></tr><tr><td>Permissions on layers</td><td>See section <a href="../../resources-layers/configuring-layers/layer-permissions">Layer Permissions</a> for more information.</td></tr><tr><td>Permissions on personal layers</td><td><strong>Create personal layers</strong><br>This permission gives a user the right to create personal layers in JMap Pro applications. By default, JMap users are not allowed to create personal layers.<br>You can configure this permission in subsection Permissions of the JMap Server section.</td></tr><tr><td>Permissions on forms</td><td>See section <a href="../../../resources-layers/configuring-layers/forms/creating-forms/database-forms#permissions-of-database-forms">Database Forms</a> for more information.</td></tr></tbody></table>

## Administrator permissions

Administrator permissions determine what JMap administrators are authorized to do in JMap Admin. Some permissions are global (permissions to do some tasks) while other permissions apply to specific resources.

Several of the global permissions are configured in the **Permissions** subsection of the JMap Server section. The following table describes the **global administration permissions**:

<table data-header-hidden><thead><tr><th width="194.5"></th><th></th></tr></thead><tbody><tr><td>Access JMap Admin</td><td><p>This permission is required for an administrator to access JMap Admin. </p><p>After the installation of JMap, only the <strong>administrator</strong> user has this permission. </p><p>Note that the password is initially left empty for this user. It is strongly recommended to enter a password for the <strong>administrator</strong> user. See section <a href="users-and-groups">Users and Groups</a> for more information on modifying passwords.<br>Also make sure to leave at least one user with this permission and with a known password. Otherwise, it will be impossible to access JMap Admin.</p></td></tr><tr><td>Create database</td><td>This permission is required for an administrator to create new databases in JMap Admin.</td></tr><tr><td>Create remote connection</td><td>This permission is required for an administrator to create new connections to remote JMap Server instances in JMap Admin.</td></tr><tr><td>Create deployment</td><td>This permission is required for an administrator to create new application deployments in JMap Admin.</td></tr><tr><td>Create metadata templates</td><td>This permission is required for an administrator to create new metadata templates in JMap Admin.</td></tr><tr><td>Create style templates</td><td>This permission is required for an administrator to create new style templates in JMap Admin.</td></tr><tr><td>Create project</td><td>This permission is required for an administrator to create new projects in JMap Admin.</td></tr><tr><td>Create data source</td><td>This permission is required for an administrator to create new spatial data sources in JMap Admin.</td></tr></tbody></table>

Administration **permissions that are specific to resources** determine what an administrator can do with each resource. The following table describes those permissions:

<table data-header-hidden><thead><tr><th width="199.5"></th><th></th></tr></thead><tbody><tr><td>Access …</td><td>The administrator can view the detailed information of a resource and use the resource, but cannot modify it.<br><strong>Example</strong><br>To use a spatial data source in order to create a layer, the administrator must at least have the <strong>Access</strong> permission on the data source.</td></tr><tr><td>Administrate …</td><td>Allows the administrator to modify the resource and manage the user permissions for the resource. Does not allow the administrator to delete the resource or manage its administration permissions.<br><strong>Example</strong><br>To add a layer in a project, the administrator must have the <strong>Administrate</strong> permission for the project.</td></tr><tr><td>Use SQL console</td><td>(Applies only to databases) Allows the administrator to use the SQL console on the database. The SQL console is used to show the database structure and to execute SQL queries on the database.</td></tr><tr><td>Remote access</td><td>Allows the administrator to access the resource from another instance of JMap Server. This permission is generally granted to a generic account used to open communication sessions between different instances of JMap Server.<br>For more information, see sections <a href="../../resources-layers/sharing-layers">Sharing Layers</a> and <a href="../../resources-spatial-data/sharing-spatial-data-sources">Sharing Spatial Data Sources</a>.</td></tr></tbody></table>

## Owners of a resource

Most resources managed in JMap Admin have one or more owners. Owners of a resource are the only ones that are allowed to:

* manage administration permissions for the resource;
* manage the list of owners for the resource;
* delete the resource.

## Super administrators

Super administrators are special accounts that can do everything in JMap Admin. They are the only ones who are allowed to:

* manage the list of super administrators;
* manage global administration permissions;
* manage users and groups;
* modify JMap Server’s working parameters;
* display the log files;
* import and export configurations.

You can manage the list of super administrators from subsection **Permissions** in section JMap Server. Select the **Super administrators** tab.

The following table presents administration tasks with examples, and indicates which profile or permission is required to perform each task.

| **Tasks**                                                                                                                                                                                                                                                                         | **Super Administrator** | **Administrator**                             |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- | --------------------------------------------- |
| **Access JMap Admin**                                                                                                                                                                                                                                                             | YES                     | If permission **Access JMap Admin**           |
| **Manage the list of Super administrators**                                                                                                                                                                                                                                       | YES                     | NO                                            |
| <p><strong>Manage global administration permissions</strong><br>• Give an administrator permission to create projects<br>• Remove an administrator’s permission to create spatial data sources<br>• Give an administrator permission to create metadata templates for layers.</p> | YES                     | NO                                            |
| <p><strong>Perform management tasks for JMap Server</strong><br>• Modify JMap Server’s working parameters (ports, memory, etc.)<br>• Manage users and groups <br>•Import and export JMap Server configurations<br>• View log files or modify their settings</p>                   | YES                     | <p>NO<br>Can change user account password</p> |
| <p><strong>Create a resource</strong><br>• Create a project<br>• Create a database<br>• Create an application deployment</p>                                                                                                                                                      | YES                     | If permission **Create …**                    |
| <p><strong>Use a resource</strong><br>• Use a database to create a spatial data source<br>• Use a data source to create a layer<br>• Use a connection to JMap Server to create a layer by reference</p>                                                                           | YES                     | If permission **Access …**                    |
| <p><strong>View detailed information about a resource</strong><br>• Click on a database and view all of its parameters<br>• Click on a project to view all of its parameters</p>                                                                                                  | YES                     | If permission **Access …**                    |
| <p><strong>Modify a resource</strong><br>• Change the name of a project<br>• Add a layer in a project<br>• Modify the connection parameters for a database<br>• Modify the projection of a spatial data source</p>                                                                | YES                     | If permission **Administrate …**              |
| <p><strong>Delete a resource</strong><br>• Delete a project<br>• Delete an application deployment<br>• Delete a style template</p>                                                                                                                                                | YES                     | If owner of the resource                      |
| <p><strong>Manage user permissions of a resource</strong><br>• Give a user permission to open a project<br>• Give a user permission to edit the elements of a project layer<br>• Remove a user’s permission to copy the data of a project layer</p>                               | YES                     | If permission **Administrate**                |
| <p><strong>Manage the administrator permissions of a resource</strong><br>• Give an administrator permission to use a spatial data source<br>• Give an administrator permission to modify a project<br>• Remove an administrator’s permission to modify a database</p>            | YES                     | If owner of the resource                      |
| **Manage the list of owners of a resource**                                                                                                                                                                                                                                       | YES                     | If owner of the resource                      |

## Permission reports

Permission reports allow you to view all the permissions that a user or a group has on a single report. A permission report is a convenient way to get the information without checking every resource. The reports are accessible from the **Users** and **Groups** tabs in the **Users / Groups** section, by clicking on ![](https://2224254070-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDUF1p2rT0hfE3QBlbbvE%2Fuploads%2FjsqTylFYkS1Li0X8qcqC%2Fpermissions.png?alt=media\&token=f4492081-aa86-443e-8dec-48506806f24f).
