From 36cd63941b053803e45bedebedcc16ea691476a9 Mon Sep 17 00:00:00 2001 From: JernejTDO Date: Fri, 11 Jul 2025 21:22:28 +0200 Subject: [PATCH] UTD --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index cc1fde5..7daf90c 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,19 @@ This plugin is currently in **active development**. Major features are being imp --- +## 📊 Permission Resolution Logic + +When checking permissions, **user-defined permissions always override group-defined ones**, and groups are sorted by weight: + +| User Permission | Group Permission | Final Result | Source | +| --------------- | ---------------- | ------------ | ------------ | +| `true` | `false` | ✅ `true` | `user` | +| `false` | `true` | ❌ `false` | `user` | +| *(none)* | `true` | ✅ `true` | `group:name` | +| *(none)* | *(none)* | ❌ `false` | `none` | + +--- + ## 🔧 Installation > ⚠️ No public releases yet. Clone and build manually.