@joeygrable94/utm-src-pub-validators 0.0.105 → 0.0.106
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/dist/index.cjs +10 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +800 -10
- package/dist/index.d.ts +800 -10
- package/dist/index.js +10 -10
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -530,18 +530,18 @@ var ROLE_PERMISSIONS = {
|
|
|
530
530
|
billing: (u, p, d) => p.scopes.includes("group:billing"),
|
|
531
531
|
manager: (u, p, d) => p.scopes.includes("group:manager"),
|
|
532
532
|
admin: (u, p, d) => p.scopes.includes("group:admin"),
|
|
533
|
-
list:
|
|
534
|
-
create:
|
|
535
|
-
read:
|
|
536
|
-
update:
|
|
537
|
-
delete:
|
|
533
|
+
list: (u, p, d) => p.scopes.includes("group:access"),
|
|
534
|
+
create: (u, p, d) => p.scopes.includes("group:admin"),
|
|
535
|
+
read: (u, p, d) => p.scopes.includes("group:access"),
|
|
536
|
+
update: (u, p, d) => p.scopes.includes("group:manager"),
|
|
537
|
+
delete: (u, p, d) => p.scopes.includes("group:admin")
|
|
538
538
|
},
|
|
539
539
|
"group-user": {
|
|
540
|
-
list:
|
|
541
|
-
create:
|
|
542
|
-
read:
|
|
543
|
-
update:
|
|
544
|
-
delete:
|
|
540
|
+
list: (u, p, d) => p.scopes.includes("group:access"),
|
|
541
|
+
create: (u, p, d) => p.scopes.includes("group:manager"),
|
|
542
|
+
read: (u, p, d) => p.scopes.includes("group:access"),
|
|
543
|
+
update: (u, p, d) => p.scopes.includes("group:manager"),
|
|
544
|
+
delete: (u, p, d) => p.scopes.includes("group:manager")
|
|
545
545
|
},
|
|
546
546
|
website: {
|
|
547
547
|
list: (u, p, d) => p.scopes.includes("website:list"),
|