forked from anydistro/bxt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[daemon] Add readme including permissions scheme overview
- Loading branch information
1 parent
7c347ea
commit 63a584d
Showing
1 changed file
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# bxt Daemon | ||
|
||
This folder contains backend related code. | ||
|
||
# Permissions | ||
|
||
Permission entries consist of multiple nodes. Each node represent a category the user can access. Wildcards are supported. | ||
|
||
Following permission entries are supported: | ||
|
||
### sections: | ||
|
||
```yaml | ||
sections.{branch}.{repository}.{architecture} | ||
``` | ||
|
||
### packages: | ||
|
||
_section-based permissions require corresponding section permissions as well_ | ||
|
||
```yaml | ||
packages.get.{branch}.{repository}.{architecture} | ||
packages.snap.{branch}.{repository}.{architecture} | ||
packages.commit.{branch}.{repository}.{architecture} | ||
packages.compare.{branch}.{repository}.{architecture} | ||
packages.sync | ||
``` | ||
|
||
### users: | ||
|
||
```yaml | ||
users.add | ||
users.remove | ||
users.get | ||
``` | ||
|
||
### logs: | ||
|
||
```yaml | ||
logs | ||
``` |