From 490b94c3b530f88bf6d34b9e94aea28aaff87396 Mon Sep 17 00:00:00 2001 From: Joshua Watt Date: Fri, 15 Dec 2023 13:25:42 -0700 Subject: bitbake: bitbake-hashserv: Add description of permissions Adds a text description of the possible permissions in the hash server help text (Bitbake rev: 8295ac1b6672c25bee595cff6e000b2af817f904) Signed-off-by: Joshua Watt Signed-off-by: Richard Purdie --- bitbake/bin/bitbake-hashserv | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'bitbake/bin/bitbake-hashserv') diff --git a/bitbake/bin/bitbake-hashserv b/bitbake/bin/bitbake-hashserv index c560b3e58a..c913c4e3c8 100755 --- a/bitbake/bin/bitbake-hashserv +++ b/bitbake/bin/bitbake-hashserv @@ -53,6 +53,19 @@ mode with an SSL terminating load balancer in front of it (as this server does not implement SSL). Otherwise all usernames and passwords will be transmitted in the clear. When configured this way, clients can connect using a secure websocket, as in "wss://SERVER:PORT" + +The following permissions are supported by the server: + + @none - No permissions + @read - The ability to read equivalent hashes from the server + @report - The ability to report equivalent hashes to the server + @db-admin - Manage the hash database(s). This includes cleaning the + database, removing hashes, etc. + @user-admin - The ability to manage user accounts. This includes, creating + users, deleting users, resetting login tokens, and assigning + permissions. + @all - All possible permissions, including any that may be added + in the future """, ) -- cgit v1.2.3-54-g00ecf