Managing users#
To allow another user to access your Web GIS, add them to your team.
Keep in mind, that the user would only see the resources if corresponding permissions are set. A newly added user has the permissions set for:
“Authenticated” or “Everyone”;
a user group that has “new users” flag ticked.
After adding a user to your team, you can include them in a group or set up permissions for that particular user.
Create new user group#
Open “Control panel” from the main menu (see item 1 in Fig. 242.). Then go to the “Groups” page and click Create.
Fig. 555. “Create new group” dialog#
In “Create new group” dialog enter full name and group name (short name), if necessary enter a group description, set group members and global permissions (see below) and click “Create”. Set “New users” flag for a group to automatically assign new user to it.
Note
A name for a group should contain only letters and numbers.
Global permissions#
While creating or editing a user or user group, you can set global permissions concerning Web GIS a whole:
creating users and groups of users, managing access permissions;
manage spacial reference systems of the Web GIS;
manage CORS settings.
These global permissions are separate from access permissions applied to particular resources (vector and raster layers, resource groups, services, Web Maps etc). The latter regulate working with resources, while global permissions allow users to manage Web GIS functions.
Fig. 556. Setting up global permissions for a group#
Warning
If you include Guest to a group that has global permissions, anyone will be able to access Control panel even without logging in.
See how it works in our video:
Watch on youtube.
How to find user identification number#
To learn user ID, in the Web GIS go to the Control panel, open Users section, find the user you need and enter the Edit mode (or just hover the cursor over the pencil icon to see the link without opening the page, if your browser allows it).
Fig. 557. User ID for “Someone Else” is 8#
Fig. 558. Hovering over the Edit button you can see the link to the profile editing. The ID of the user “My_username” is 13#
Disable or delete users#
First, remove the user from your team
In the main menu open the Control panel and select “Users”. Each user has “Edit” and “Delete” icons on the right end of the line.
Fig. 559. User list#
On the editing page you can modify properties of the user and disable the user. Tick “Disabled” and press Save.
Fig. 560. Disabling the user#
If the user is disabled, settings concerning groups, resource ownership and permissions stay intact and can be reactivated after the user is re-added to the team.
If you need to delete a user permanently, click the “Delete” icon in the user list and confirm the action in the pop-up window. Alternatively, you can open the editing page and click Delete.
If the user is the owner of Web GIS resources, a warning appears: Validation error. User is referenced with resources. Click on Technical information to see ID of the resources owned by the user. Delete these resources or change their owner to delete the user.
How to bind NextGIS ID to an existing Web GIS user#
If you have a user created within Web GIS with a username and password (e.g. paganel, 12345paganel) you can bind it to your NextGIS ID account.
Let the Web GIS administrator know what username you have in your NextGIS ID profile. The administrator adds you to the team. Then go to your NextGIS ID account, log in and make sure that the Web GIS is shown in the list of your teams.
Open Web GIS, log in using your old username and password (in our example paganel/1234paganel).
Click on the initials or userpic in the top right corner and open the user settings.
Fig. 561. Opening user settings#
In the user settings click Bind account in the NextGIS ID field.
Fig. 562. Binding NextGIS ID account#
If binding is successful, the button is replaced by the words “Account bound” and your identifier.
Fig. 563. NextGIS ID bound successfully#
Create new local user#
If Web GIS has a local limit enabled, the Administrator can set usernames and passwords for users. This way the users only access the Web GIS and cannot use the other NextGIS functionality available on Premium.
To create a new local user, go to “Control panel” from the main menu. Then go to the “Users” page and click Create.
Fig. 564. “Create new user” dialog#
In “Create new user” dialog enter the following information:
Full user name (e.g. John Smith)
Login – user login (e.g. smith)
Password
Group(-s) user belongs to (select from a dropdown menu. If the required group is absent you need to create a new one (see Create new user group)).
Permissions - global permissions concerning Web GIS as a whole
Interface language for the user
You can add some more information about the user in the “Description” field.
Then click “Create”.
Note
The password is limited in length in the range of 5-25 characters. Login can have symbols of the Latin alphabet, numbers and an underscore, but must begin necessarily with a letter.
You can set up access permissions for particular users and groups of users.
Update local user password#
To update user password you can use administrative interface. To do it select “Control panel” in the main menu. Go to “Users” and click pencil icon near the user you want to update password for. In the “Password” field select “Assign new” in the dropdown menu, fill in a new password and click Save button.
Fig. 565. User editting window#
Also there is an option to change user password using command line:
Warning
Setting a password using a command line is not safe.
env/bin/nextgisweb --config config.ini change_password user password
env/bin/nextgisweb --config config.ini change_password user password
Note
The password is limited in length in the range of 5-25 characters.
If you forgot the password to your NexGIS ID, follow this instruction.