From e01ff406fdc8f22ac75141ddd47cc245934b7d26 Mon Sep 17 00:00:00 2001 From: Stefan Pejcic Date: Mon, 5 Feb 2024 16:30:07 +0100 Subject: [PATCH] Update openadmin.md --- documentation/docs/admin/users/openadmin.md | 98 +++++++++++++++++++-- 1 file changed, 90 insertions(+), 8 deletions(-) diff --git a/documentation/docs/admin/users/openadmin.md b/documentation/docs/admin/users/openadmin.md index 649ad3ad..c3748b56 100644 --- a/documentation/docs/admin/users/openadmin.md +++ b/documentation/docs/admin/users/openadmin.md @@ -26,11 +26,11 @@ To manage admin users that can access OpenAdmin interface use Settings > OpenAdm -From the terminal: +To list admin users use command: -[opencli admin new](/docs/admin/scripts/admin#create-new-admin) -[opencli admin password](/docs/admin/scripts/admin#reset-admin-password) -[opencli admin delete](/docs/admin/scripts/admin#delete-admin-user) +```bash +opencli admin list +``` @@ -38,8 +38,6 @@ From the terminal: ## Reset Admin Password - - @@ -48,7 +46,21 @@ To reset admin password click on the user in Settings > OpenAdmin page, then cli -From the terminal: [opencli admin password](/docs/admin/scripts/admin#reset-admin-password) +To reset the password for an admin user: + +```bash +opencli admin password [username | admin] +``` + +Example, reset password for Super Admin user: +```bash +opencli admin password Pyl7_L2M1 admin +``` + +Example, reset password for regular Admin user: +```bash +opencli admin password Pyl7_L2M1 filip +``` @@ -64,7 +76,16 @@ To create new admin user click on the 'New' button in Settings > OpenAdmin page, -From the terminal: [opencli admin new](/docs/admin/scripts/admin#create-new-admin) +To create new admin accounts: + +```bash +opencli admin new +``` + +Example: +```bash +opencli admin new filip Pyl7_L2M1 +``` @@ -73,6 +94,65 @@ From the terminal: [opencli admin new](/docs/admin/scripts/admin#create-new-admi +## Rename Admin user + + + + +To rename an Amdin user, select the user on **Settings > OpenAdmin** page and click on the Edit button and set new username. + + + + +To rename admin user: + +```bash +opencli admin rename +``` + +Example: +```bash +opencli admin rename filip filip2 +``` + + + + +## Suspend Admin user + + + + +To suspend an Admin user, select the user on **Settings > OpenAdmin** page and click on the Edit button, then **Suspend**. + +To unsuspend an Admin user, select the user on **Settings > OpenAdmin** page and click on the Edit button, then **Unsuspend**. + + + +```bash +opencli admin suspend +``` + +Example: +```bash +opencli admin suspend filip +``` +--- + +To unsuspend admin user: +```bash +opencli admin unsuspend +``` + +Example: +```bash +opencli admin unsuspend filip +``` + + + + + ## Delete Admin user @@ -92,3 +172,5 @@ From the terminal: [opencli admin delete](/docs/admin/scripts/admin#delete-admin :::info The Super Admin user can not be deleted. ::: + +