Added description & start of permissions

main
Jef Roosens 2022-01-02 22:53:48 +01:00
parent ed59b9d4a7
commit af56ef84ed
Signed by: Jef Roosens
GPG Key ID: 955C0660072F691F
2 changed files with 33 additions and 2 deletions

18
PERMISSIONS.md 100644
View File

@ -0,0 +1,18 @@
# Permissions
The basic principle of this permissions system is that each permission has a
32-bit ID. The first 16 bits denote the permission category, the last 16 the
type within that category. Each category has an admin permission denoted using
all zeros in the last 16 bits. A user with this permission automatically has
all other permissions, even if new permissions get added later.
## Categories
### Admin (`0`)
ID `0` grants a user admin permissions across all categories.
### Sections (`1`)
* `01`: Create sections
* `10`: Delete sections

View File

@ -1,3 +1,16 @@
# general # The Rusty Bever
This repository is used for defining API specifications, tracking sprints, etc. The Rusty Bever is more than just my personal website. The original idea was to
build a blog, but as I often do, the idea expands and grows way too big for me
to handle, but I keep making it anyways.
The goal of this project is to not only set up a personal blog, but a versatile
user management system that I can then use to connect other services to my
website. I want to able to give users granular access to my services, ranging
from a blog to pastebin & a URL shortener. I'm basically building the
foundation on which I can create numerous personal web-based projects, using
this user management system to link it all together.
I opted for a microservice-based design, as this allows me to easily integrate
new services into my existing network. This again enables me to more easily
develop & integrate new projects.