mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
sulu: updated readme
This commit is contained in:
parent
33387c8e40
commit
787570e7c7
1 changed files with 6 additions and 5 deletions
|
|
@ -114,9 +114,10 @@ In the below example, I use command line tool, but same operations can be done f
|
|||
|
||||
Some global variables before proceeding further
|
||||
|
||||
UNAME=testuser
|
||||
UPASS=testuser123
|
||||
|
||||
```bash
|
||||
export UNAME=testuser
|
||||
export UPASS=testuser123
|
||||
```
|
||||
## Create an User Role
|
||||
|
||||
```bash
|
||||
|
|
@ -139,7 +140,7 @@ obuspa -c set ${USER}.Enable 1
|
|||
|
||||
## Update UserInterface to use the new UserRole
|
||||
|
||||
Sulu has a reload hook to setup the necessary obuspa/mosquitto configuration, this will reload obuspa service after uci update, so we have to wait for service to come up.
|
||||
Sulu has a reload hook to setup the necessary obuspa/mosquitto configuration, so no need to do LocalAgent Controller/MTP setup, this will reload obuspa service after uci update, so we have to wait for service to come up.
|
||||
|
||||
```bash
|
||||
bbfdmd -c set Device.UserInterface.HTTPAccess.1.AllowedRoles "Device.Users.Role.1,${ROLE}"
|
||||
|
|
@ -149,7 +150,7 @@ sleep 30
|
|||
|
||||
## Create a ControllerTrust role aligned with user role
|
||||
|
||||
In this example, full access of Device. added for the new user
|
||||
In this example, full access of 'Device.' added for the new user
|
||||
|
||||
```bash
|
||||
CTROLE="$(obuspa -c add Device.LocalAgent.ControllerTrust.Role. | cut -d " " -f 2)"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue