@joeygrable94/utm-src-pub-validators 0.0.105 → 0.0.107

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 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: true,
534
- create: true,
535
- read: true,
536
- update: true,
537
- delete: true
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: false,
541
- create: false,
542
- read: false,
543
- update: false,
544
- delete: false
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"),
@@ -2581,8 +2581,8 @@ var SReadWebsiteDocumentByDocumentId = v12__namespace.object({
2581
2581
  var SUpdateAsCreatorWebsiteDocument = v12__namespace.object({
2582
2582
  domain: IsValidOrUndefinedUrlDomain,
2583
2583
  description: IsValidOrUndefinedDescription,
2584
- is_secure: IsValidIsSecure,
2585
- is_active: IsValidIsActive
2584
+ is_secure: IsValidOrUndefinedIsSecure,
2585
+ is_active: IsValidOrUndefinedIsActive
2586
2586
  });
2587
2587
  var SUpdateAsCreatorWebsiteDocumentRequest = v12__namespace.object({
2588
2588
  documentId: IsValidReferenceDocumentId,