2.3. Assigning access rights to users
Let’s say the project owner has a family member that also want to have a remote control client on their smartphone. It would be quite reasonable if the owner assigns the Administrator role to Owner (i.e., to himself/herself) and the User role to a family member’s user.
At this point, we have a user called Owner in the domain and we’ll create another user, Alex, for a family member. Then we’ll assign them various levels of access rights for the service.
Let’s create a new user, Alex. First, we go to the domain page by clicking the domain name at the top left of the panel:
Here is the view of our domain page:
Clicking the “new user” button takes us to the “New User” page:
Here, we can create a Private user or a Contact user. Chapter 8 demonstrates how to share your devices with other persons and organizations via Contact users. This is a more convenient way to share devices. However, in this example, we’ll create a Private user associated with an imaginary family member.
We type the name “Alex” in the “user name” field of “PRIVATE USER”, leave the “Dedicated” checkbox unchecked and click “Create”. Now in the section “USER LIST” of the domain page, the user Alex appeared:
Then we go to the site configuration page by clicking the “config” button:
You can see that both users, Owner and Alex, are in the DENIED USERS section. We’ll now assign the Administrator role to Owner, and the User role to Alex.
Clicking the “>>” button, which is to the left of Owner, opens the editor for managing roles of Owner:
We check the Administrator role and click “save”. This results in Owner being moved from the DENIED USERS section to the site:
Next, clicking the “>>” button for Alex opens the editor for managing roles of this user:
We check the User role and click “save”. This results in Alex being moved from the DENIED USERS section to the site:
Now, we are ready to set up clients on the site. This is a topic of the next section
TABLE OF CONTENTS
- 2.1. Creating a domain
- 2.2. Setting up a device
- 2.3. Assigning access rights to users
- 2.4. Setting up clients