@ -25,24 +25,27 @@ Channel Database will take a screenshot of the current channels within Basement,
## Stage 0.3 - Feature 2 - Permission Levels
Permission Levels are specifically to ensure that members have the right to run a specific command, throwing an error if this is not the case. Permission Levels will be set up as the following;
`Level 00` - This level grants the ability to run any command, regardless of anything. This permission level is limited to; Bot Developer & Owner.
`Level 01` - This level grants the ability to run most commands, even ones that are considered destructive. This permission level is limited to; Higher Staff.
`Level 02` - This level grants the ability to run any command that is considered a "staff command". This permission level is limited to; Full Staff Members.
`Level 03` - This level grants the ability to run any command that is considered usable by trial staff members. This permission level is limited to; Trial Staff Members.
`Level 04` - This level grants the ability to run any command that is relating to partnerships. This permission level is limited to; Partners & Partner Managers.
`Level 05` - This level grants the ability to run any command that is relating to Donating. This permission level is limited to; Ultimate VIP.
`Level 06` - This level grants the ability to run any command that is relating to Donating. This permission level is limited to; Elite VIP.
`Level 07` - This level grants the ability to run any command that is relating to Donating. This permission level is limited to; Loved VIP.
`Level 08` - This level grants the ability to run any command that is relating to Donating. This permission level is limited to; Glow VIP.
`Level 09` - This level grants the ability to run any command that is relating to Donating. This permission level is limited to; Enchanted VIP.
`Level 10` - This level grants the ability to run any command that is relating to Donating. This permission level is limited to; Boosted VIP.
`Level 11` - This level grants the ability to run any command that is relating to 18+ content. This permission is limited to; Verified & Cross verified.
`Level 12` - This level grants the ability for anyone to run commands under this level. This permission level is not limited by role.
- `Level 00` - This level grants the ability to run any command, regardless of anything. This permission level is limited to; Bot Developer & Owner.
- `Level 01` - This level grants the ability to run most commands, even ones that are considered destructive. This permission level is limited to; Higher Staff.
- `Level 02` - This level grants the ability to run any command that is considered a "staff command". This permission level is limited to; Full Staff Members.
- `Level 03` - This level grants the ability to run any command that is considered usable by trial staff members. This permission level is limited to; Trial Staff Members.
- `Level 04` - This level grants the ability to run any command that is relating to partnerships. This permission level is limited to; Partners & Partner Managers.
- `Level 05` - This level grants the ability to run any command that is relating to Donating. This permission level is limited to; Ultimate VIP.
- `Level 06` - This level grants the ability to run any command that is relating to Donating. This permission level is limited to; Elite VIP.
- `Level 07` - This level grants the ability to run any command that is relating to Donating. This permission level is limited to; Loved VIP.
- `Level 08` - This level grants the ability to run any command that is relating to Donating. This permission level is limited to; Glow VIP.
- `Level 09` - This level grants the ability to run any command that is relating to Donating. This permission level is limited to; Enchanted VIP.
- `Level 10` - This level grants the ability to run any command that is relating to Donating. This permission level is limited to; Boosted VIP.
- `Level 11` - This level grants the ability to run any command that is relating to 18+ content. This permission is limited to; Verified & Cross verified.
- `Level 12` - This level grants the ability for anyone to run commands under this level. This permission level is not limited by role.
Along with the permission levels, there will be permission based on where the command is ran.
This methodology will mimic permission management on Linux having three different groups of management, and having a number that correlates to a permission type, those being;
Person running the command, the type of command that it is, where the command is ran for the structure.
- Person running the command
- The type of command that it is
- Where the command is ran for the structure.
<!--
0 = No permission
1 = Execute permission
2 = Write permission
@ -51,12 +54,14 @@ Person running the command, the type of command that it is, where the command is
5 = Read & Execute permissions
6 = Read & Write permissions
7 = Read, Write & Execute permissions
-->
An example of this is a verified user runs an 18+ command in a none-NSFW chat the permissions would be set as such;
- Person = 11
- Command Type = 11
- Channel Type = 12
And since there is a mis-match, the command will not run and will throw an error.
Since there is a mis-match, the command will not run and will throw an error.