==Managing roles==__NOEDITSECTION__
{{Note|Only lightMINT '''administrators''' can manage roles.}}
The page to manage roles can be accessed via '''Manage → Roles''' in the top menu.
The following roles exist by default after the installation:
* '''ROLE_ADMINISTRATOR:''' User assigned to this role are administrators of the system, i.e. they can manage the server setting, users and roles, as well as create/rename/delete folders in the repository and assign permissions.
* '''ROLE_ANONYMOUS:''' Users assigned to this role do not have any permission to view any objects or perform any actions in the system, unless explicitly defined.
* '''ROLE_USER:''' Users assigned to this role can view and schedule reports, i.e. use the system as end users, but not perform any administrative tasks such as managing the server, users and roles, and manipulating folders.
To add a role, click on the '''Add Role''' button in the top left corner of the role management interface. Only a name needs to be provided. There are two ways of assigning users to roles:
* From the role management interface, by selecting a role and clicking on '''Edit''' in the right-hand pane: users from the list of available users can be dragged to the list of assigned users, or removed from that list.
* From the user management interface, by selecting a user and clicking on '''Edit''' in the right-hand pane: roles from the list of available roles can be dragged to the list of assigned roles , or removed from that list.
==Managing users==__NOEDITSECTION__
{{Note|Only lightMINT '''administrators''' can manage users.}}
The page to manage users can be accessed via '''Manage → Users''' in the top menu.
=== Adding a User ===__NOEDITSECTION__
In order to add a user, click on the '''Add User''' button in the top left corner of the users interface. A pop-up window appears in which the following information is prompted:
* '''User name:''' user name assigned to the new user. This name will be displayed in the application and can be displayed on reports.
* '''User ID:''' this is the actual ID that needs to be provided in the login window.
* '''Password:''' password for the user ID. This can and should be changed later by the actual user, when he or she first logs in.
* Optional - Email: if an email notification system is set up, an email address can be provided for automatic notifications.
The user is finally added by clicking on the '''Add User''' button on the pop-up window.
[[File:LightMINT_add_user.png|center]]
A user can later by edited by clicking on the '''Edit User''' button on the main user management interface. The following properties can be changed:
* '''Password''' - this is how an administrator can reset a user's password.
* '''Email address'''
* '''Enable/disable a user''' - if a user is disabled, it will not be able to log in to the system anymore.
* '''Assign and remove roles''' (see the section below on managing roles)
Changes need to be saved before they are taken into account.
[[File:LightMINT_edit_user.png|center|700px]]
=== Changing a Password ===__NOEDITSECTION__
{{Note|Every user can change his/her password, provided that the '''Change password''' on the login page has been enabled - see [[Install_and_Configure_lightMINT|Install and Configure lightMINT]] for details. lightMINT administrators can change/reset all user's passwords.}}
Users can change their password by clicking on the '''Change password''' link under the login box on the login page.
==Managing the folder structure==__NOEDITSECTION__