sulu: updated readme

This commit is contained in:
Vivek Kumar Dutta 2024-08-05 14:40:43 +05:30
parent 33387c8e40
commit 787570e7c7

View file

@ -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)"