KDXUserAccess: Difference between revisions
From Hotline Wiki
Created page with "KDX uses a 16-byte (128-bit) permission bitmask to control access to server operations. Each bit represents a specific privilege. Permissions are inherited from user categories with optional per-user overrides. {| class="wikitable" ! Category !! Description |- | Accounts || Account operations | Admin || Administrative miscellaneous | Chat || Chat operations | Files || File operations | News || News operations | RDP || Remote desktop operations | Voice || Voice chat oper..." |
Clean up a bit |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
=Overview= | |||
KDX uses a 16-byte (128-bit) permission bitmask to control access to server operations. Each bit represents a specific privilege. Permissions are inherited from user categories with optional per-user overrides. | KDX uses a 16-byte (128-bit) permission bitmask to control access to server operations. Each bit represents a specific privilege. Permissions are inherited from user categories with optional per-user overrides. | ||
==User Account Permissions== | |||
===Categories=== | |||
{| class="wikitable" | {| class="wikitable" | ||
! Category !! Description | ! Category !! Description !! | ||
|- | |- | ||
| Accounts || Account operations | | Accounts || Account operations | ||
|- | |||
| Admin || Administrative miscellaneous | | Admin || Administrative miscellaneous | ||
|- | |||
| Chat || Chat operations | | Chat || Chat operations | ||
|- | |||
| Files || File operations | | Files || File operations | ||
|- | |||
| News || News operations | | News || News operations | ||
|- | |||
| RDP || Remote desktop operations | | RDP || Remote desktop operations | ||
|- | |||
| Voice || Voice chat operations | | Voice || Voice chat operations | ||
|- | |||
| ? || unknown/undocumented/needs more info | | ? || unknown/undocumented/needs more info | ||
|} | |} | ||
===Permission bit mask=== | |||
{| class="wikitable" | {| class="wikitable" | ||
! Bit !! Name !! Category !! Note | ! Bit !! Name !! Category !! Note !! | ||
|- | |- | ||
| 10 || Empty trash || Admin | | 10 || Empty trash || Admin | ||
|- | |||
| 15 || Await mode / admin query || ? || Needs clarity | | 15 || Await mode / admin query || ? || Needs clarity | ||
|- | |||
| 17 || Create news articles || News | | 17 || Create news articles || News | ||
|- | |||
| 21 || Delete news articles || News | | 21 || Delete news articles || News | ||
|- | |||
| 31 || Bypass permission checks || Account | | 31 || Bypass permission checks || Account | ||
|- | |||
| 33 || View folder info || Files | | 33 || View folder info || Files | ||
|- | |||
| 34 || Delete/modify folders || Files | | 34 || Delete/modify folders || Files | ||
|- | |||
| 37 || Create private folders || Files | | 37 || Create private folders || Files | ||
|- | |||
| 38 || Broadcast messages || Admin | | 38 || Broadcast messages || Admin | ||
|- | |||
| 50 || Chat catalog / user management || Chat? || Needs clarity | | 50 || Chat catalog / user management || Chat? || Needs clarity | ||
|- | |||
| 51 || Send/edit chat messages || Chat | | 51 || Send/edit chat messages || Chat | ||
|- | |||
| 63 || User is banned || Admin? || Is this a user flag? Needs clarity | | 63 || User is banned || Admin? || Is this a user flag? Needs clarity | ||
|- | |||
| 64 || Upload files || Files | | 64 || Upload files || Files | ||
|- | |||
| 65 || Download files || Files | | 65 || Download files || Files | ||
|- | |||
| 71 || Shutdown server || Admin | | 71 || Shutdown server || Admin | ||
|- | |||
| 78 || Initiate downloads || Files || Needs clarity | | 78 || Initiate downloads || Files || Needs clarity | ||
|- | |||
| 79 || Rename/delete files || Files | | 79 || Rename/delete files || Files | ||
|- | |||
| 85 || Upgrade server || Admin || Probably a do-nothing priv unless third party servers want to implement it | | 85 || Upgrade server || Admin || Probably a do-nothing priv unless third party servers want to implement it | ||
|- | |||
| 87 || Screen sharing || RDP | | 87 || Screen sharing || RDP | ||
|} | |} | ||
Latest revision as of 22:24, 10 June 2026
Overview
KDX uses a 16-byte (128-bit) permission bitmask to control access to server operations. Each bit represents a specific privilege. Permissions are inherited from user categories with optional per-user overrides.
User Account Permissions
Categories
| Category | Description | |
|---|---|---|
| Accounts | Account operations | |
| Admin | Administrative miscellaneous | |
| Chat | Chat operations | |
| Files | File operations | |
| News | News operations | |
| RDP | Remote desktop operations | |
| Voice | Voice chat operations | |
| ? | unknown/undocumented/needs more info |
Permission bit mask
| Bit | Name | Category | Note | |
|---|---|---|---|---|
| 10 | Empty trash | Admin | ||
| 15 | Await mode / admin query | ? | Needs clarity | |
| 17 | Create news articles | News | ||
| 21 | Delete news articles | News | ||
| 31 | Bypass permission checks | Account | ||
| 33 | View folder info | Files | ||
| 34 | Delete/modify folders | Files | ||
| 37 | Create private folders | Files | ||
| 38 | Broadcast messages | Admin | ||
| 50 | Chat catalog / user management | Chat? | Needs clarity | |
| 51 | Send/edit chat messages | Chat | ||
| 63 | User is banned | Admin? | Is this a user flag? Needs clarity | |
| 64 | Upload files | Files | ||
| 65 | Download files | Files | ||
| 71 | Shutdown server | Admin | ||
| 78 | Initiate downloads | Files | Needs clarity | |
| 79 | Rename/delete files | Files | ||
| 85 | Upgrade server | Admin | Probably a do-nothing priv unless third party servers want to implement it | |
| 87 | Screen sharing | RDP |