| Crates.io | dotperms |
| lib.rs | dotperms |
| version | 0.1.0 |
| created_at | 2025-04-02 07:10:56.051936+00 |
| updated_at | 2025-04-02 07:10:56.051936+00 |
| description | A simple library for LuckPerms-like authorization using permission nodes. |
| homepage | https://git.dc09.ru/nm17/dotperms |
| repository | https://git.dc09.ru/nm17/dotperms |
| max_upload_size | |
| id | 1616152 |
| size | 25,383 |
An opinionated, but simple library for LuckPerms-like authorization using permission nodes.
Result].
All of it's behaviour in response to invalid permissions nodes MUST be deny-first.
Any invalid permissions MUST be ignored and any invalid requirements MUST be impossible to satisfy.From the LuckPerms Github Wiki:
A permission is just a string, and is separated into parts using periods. For example, “minecraft.command.ban” is the permission for the /ban command. Obviously we don’t want all users to have access to this, so we only give it to users we trust.
The string that represents a certain permission is also sometimes called a “permission node” or just “node” for short.
Context in the most basic sense simply means the circumstances where something will apply.
A single "context" consists of a key and a value, and are represented in the form key=value.