@quenty/permissionprovider 8.5.0 → 8.5.1-canary.314.7831b0b.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/README.md +24 -0
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [8.5.1-canary.314.7831b0b.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/permissionprovider@8.5.0...@quenty/permissionprovider@8.5.1-canary.314.7831b0b.0) (2022-12-27)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @quenty/permissionprovider
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [8.5.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/permissionprovider@8.4.0...@quenty/permissionprovider@8.5.0) (2022-12-06)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @quenty/permissionprovider
|
package/README.md
CHANGED
|
@@ -19,3 +19,27 @@ Utility permission provider system for Roblox
|
|
|
19
19
|
```
|
|
20
20
|
npm install @quenty/permissionprovider --save
|
|
21
21
|
```
|
|
22
|
+
|
|
23
|
+
## Permission designs
|
|
24
|
+
This permissions system originally supported the following scenarios:
|
|
25
|
+
|
|
26
|
+
1. Any game has a default admin scheme based upon who can edit the game
|
|
27
|
+
2. Can override this configuration (although in practice this isn't required)
|
|
28
|
+
|
|
29
|
+
## New permission features
|
|
30
|
+
The following features need to be added.
|
|
31
|
+
|
|
32
|
+
1. Extensibility: Ability to add / modify default behavior via chain-of-command.
|
|
33
|
+
2. Data-store based: Ability to modify based upon a datastore using admin commands, et cetera.
|
|
34
|
+
|
|
35
|
+
## Role based permission support
|
|
36
|
+
Permissions right now are global per a game. We need configurable, sharable, editable non-global permissions. This will require the following support.
|
|
37
|
+
|
|
38
|
+
1. Permission serialization - Can save permissions to the datastore
|
|
39
|
+
2. Permission provisioning per a state
|
|
40
|
+
|
|
41
|
+
The goal is to use this package as a backend for permissioning such that this package can understand and provide permissions that work out of the default. Permissioning model should act like Discord roles, where tagging is separated out from the actual permissions associated with a role.
|
|
42
|
+
|
|
43
|
+
This will require a roles package separate from this permission system. This can probably be done in separate packages `roles` and `role-permissions` which may not be open source available. Then, UI can be done in `role-permission-ui` and be generalized and reused. This will also likely not be open source
|
|
44
|
+
|
|
45
|
+
We may leverage a role-provisioning system to handle permissions. We should build this role system and then assign permissions against the roles at this permission provider layer.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/permissionprovider",
|
|
3
|
-
"version": "8.5.0",
|
|
3
|
+
"version": "8.5.1-canary.314.7831b0b.0",
|
|
4
4
|
"description": "Permission provider for Roblox, including authenticating against group membership",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -25,17 +25,17 @@
|
|
|
25
25
|
"Quenty"
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@quenty/baseobject": "
|
|
29
|
-
"@quenty/grouputils": "
|
|
30
|
-
"@quenty/loader": "
|
|
31
|
-
"@quenty/maid": "
|
|
32
|
-
"@quenty/promise": "
|
|
33
|
-
"@quenty/remoting": "
|
|
34
|
-
"@quenty/servicebag": "
|
|
35
|
-
"@quenty/table": "
|
|
28
|
+
"@quenty/baseobject": "6.0.1",
|
|
29
|
+
"@quenty/grouputils": "6.0.1",
|
|
30
|
+
"@quenty/loader": "6.0.1",
|
|
31
|
+
"@quenty/maid": "2.4.0",
|
|
32
|
+
"@quenty/promise": "6.0.1",
|
|
33
|
+
"@quenty/remoting": "6.0.1",
|
|
34
|
+
"@quenty/servicebag": "6.4.0",
|
|
35
|
+
"@quenty/table": "3.1.0"
|
|
36
36
|
},
|
|
37
37
|
"publishConfig": {
|
|
38
38
|
"access": "public"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "7831b0b5f4dc7023b435dd1830bc731729680699"
|
|
41
41
|
}
|