aboutsummaryrefslogtreecommitdiffstats
path: root/bin/bitbake-hashserv
diff options
context:
space:
mode:
authorJoshua Watt <JPEWhacker@gmail.com>2023-12-15 13:25:42 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-12-18 09:17:56 +0000
commit8295ac1b6672c25bee595cff6e000b2af817f904 (patch)
tree631b933e6dda8213a77faf957ac4c2ba7a073073 /bin/bitbake-hashserv
parent834e452243ff2eea6e8e2e7f4935b5233ffb4b00 (diff)
downloadbitbake-8295ac1b6672c25bee595cff6e000b2af817f904.tar.gz
bitbake-hashserv: Add description of permissions
Adds a text description of the possible permissions in the hash server help text Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bin/bitbake-hashserv')
-rwxr-xr-xbin/bitbake-hashserv13
1 files changed, 13 insertions, 0 deletions
diff --git a/bin/bitbake-hashserv b/bin/bitbake-hashserv
index c560b3e58..c913c4e3c 100755
--- a/bin/bitbake-hashserv
+++ b/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
""",
)