Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| admin:managing_users [2026/04/16 02:03] – [Sync user across all login stores] Kahn Wynyard | admin:managing_users [2026/05/27 16:09] (current) – [Using your own permission templates] Gary Willetts | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| {{indexmenu_n> | {{indexmenu_n> | ||
| ====== 25.15. Managing users ====== | ====== 25.15. Managing users ====== | ||
| - | ===== About users and groups ===== | + | ===== About users, groups |
| - | mSupply has a comprehensive system of controlling user access, allowing you to manage in fine detail what each user can do and see in the system. You can manage users individually, | + | mSupply has a comprehensive system of controlling user access, allowing you to manage in fine detail what each user can do and see in the system. You can manage users individually, |
| User permissions are per-store, so a user can have different permissions when logged into different stores. | User permissions are per-store, so a user can have different permissions when logged into different stores. | ||
| - | If you have many users that need to have the same permissions (because they carry out the same role, for example), [[admin: | + | If you have many users that need to have the same permissions (because they carry out the same role, for example), |
| + | |||
| + | You can also set user permissions using templates. These quickly enable | ||
| ==== Users and sync ==== | ==== Users and sync ==== | ||
| Line 18: | Line 20: | ||
| ===== Adding and editing users and groups ===== | ===== Adding and editing users and groups ===== | ||
| - | |||
| User access is managed by choosing **File > Edit users** from the menus, or by choosing **Admin > Edit users** in the Navigator. When clicking on this option you are presented with a list of current users: | User access is managed by choosing **File > Edit users** from the menus, or by choosing **Admin > Edit users** in the Navigator. When clicking on this option you are presented with a list of current users: | ||
| Line 36: | Line 37: | ||
| * **Group** The name of the group | * **Group** The name of the group | ||
| * **Active** Checked if the group is active. If the group is active then all users in the group are allowed to login to the system. If the group is inactive (checkbox unchecked), all users in the group are inactive and are not allowed to login to the system. | * **Active** Checked if the group is active. If the group is active then all users in the group are allowed to login to the system. If the group is inactive (checkbox unchecked), all users in the group are inactive and are not allowed to login to the system. | ||
| - | |||
| - | To get a list of all current user permissions, | ||
| Double-click a user (or group) to edit their details or delete them. Click the **New User** button to add a new user (or the **New group** button to add a new group). Doing either will open the user details window (described below - for a new user or group all the tabs are empty, for an existing user or group the tabs are filled with their current settings) | Double-click a user (or group) to edit their details or delete them. Click the **New User** button to add a new user (or the **New group** button to add a new group). Doing either will open the user details window (described below - for a new user or group all the tabs are empty, for an existing user or group the tabs are filled with their current settings) | ||
| + | === Reports === | ||
| + | When viewing either groups or users in the list you can different user reports by clicking on the **Reports button**. When you do that a small submenu appears with the following options: | ||
| + | |||
| + | * **Permission report:** produces a report which shows all the permissions the selected (highlighted) user or group has in all stores in the datafile. It looks like this:{{ .: | ||
| + | * **User stores report:** produces a report which shows all the stores all the users in the datafile can login to. It looks like this:{{ .: | ||
| + | |||
| + | As soon as you click on one of the options, the report is generated and opened in your spreadsheet application. | ||
| ===== User details window ===== | ===== User details window ===== | ||
| <WRAP center round tip 95%> | <WRAP center round tip 95%> | ||
| Line 350: | Line 356: | ||
| - On the general tab of the window which opens, use the //Is a member of// drop down list to select the group the user is to belong to:{{ : | - On the general tab of the window which opens, use the //Is a member of// drop down list to select the group the user is to belong to:{{ : | ||
| - Click on the OK button to save you changes. | - Click on the OK button to save you changes. | ||
| + | |||
| + | |||
| + | ===== Permission templates ===== | ||
| + | Permission templates are pre-set selections of permissions that you can select for individual users or a group. They give you a quick way of setting all the permissions for a user or group in a particular store. The permissions can be edited after setting, they are not controlled by the template (like they are by a group). | ||
| + | |||
| + | |||
| + | ==== Using permission templates ==== | ||
| + | To use a template you must be creating or editing a user who is **not** part of a group or creating or editing a group. | ||
| + | |||
| + | Using a new user who is not part of a group as an example (but the same methodology applies for existing users or new and existing groups), go to the // | ||
| + | |||
| + | {{ .: | ||
| + | |||
| + | Click on the button and the template selection window will open: | ||
| + | |||
| + | {{ .: | ||
| + | |||
| + | If the template list is long, type something in the //Type here to search// field and only those templates which contain what you have typed will show in the list. | ||
| + | |||
| + | Click on the template you want to use for the user's permissions and click on the **OK** button. The user's permissions on the // | ||
| + | |||
| + | {{ .: | ||
| + | |||
| + | You can now repeat this process for assigning permissions in other stores for this user/group by selecting the appropriate store in the **Store** drop-down list before clicking on the **User permissions template** button. | ||
| + | |||
| + | The permissions can still be manually edited by clicking on them if desired. | ||
| + | |||
| + | When you have finished setting permissions for the user or group, click on the **OK** button to save the permissions. | ||
| + | |||
| + | |||
| + | ==== Using your own permission templates ==== | ||
| + | The example above showed using system defined permission templates. You can create your own and use those instead. | ||
| + | |||
| + | Your own templates are created as user group permission reports which you then load into a user's permissions. To do this, follow these steps: | ||
| + | |||
| + | - Create a user group which has the permissions you require as a template set on the // | ||
| + | - View the list of user groups (see the [[admin: | ||
| + | - Run a Permission report for that group (see the [[admin: | ||
| + | - Save the report as a '' | ||
| + | - Now create or edit the user to which you want to apply these permissions to (double-click it in the list of users) | ||
| + | - Click on the // | ||
| + | - Hold down the //Shift// key on the keyboard and click on the **User permissions template** button at the bottom of the screen | ||
| + | - A file selection window will appear. Navigate to the csv file you saved in step 4 above, select it and click on the **Open** button | ||
| + | - The user template selection window will open with only one entry in the table. The entry has the name of the group you ran the permissions report for in step 3. Select that entry and click on the **OK** button | ||
| + | - The user permissions for all the tabs are loaded from the file and you see them set in the user's details window | ||
| + | - You can further edit these permissions if you wish or copy them to other stores (using the **Copy** button at the bottom of the window). When you are finished, click on the **OK** button on the user details window to save the permissions | ||
| ===== User license categories ===== | ===== User license categories ===== | ||