@company-semantics/contracts 0.52.0 → 0.53.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@company-semantics/contracts",
3
- "version": "0.52.0",
3
+ "version": "0.53.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -22,7 +22,7 @@
22
22
  *
23
23
  * Capability hierarchy (implicit):
24
24
  * - owner: all capabilities
25
- * - admin: invite_member, manage_members (limited)
25
+ * - admin: invite_member, manage_members (limited), manage_auth, demote_integration (own only)
26
26
  * - member: none (read-only)
27
27
  */
28
28
  export type WorkspaceCapability =
@@ -77,6 +77,7 @@ export const ROLE_CAPABILITY_MAP = {
77
77
  admin: [
78
78
  'org.invite_member',
79
79
  'org.manage_members', // Note: cannot remove/demote other admins
80
+ 'org.manage_auth',
80
81
  'org.demote_integration', // Can demote own integrations only
81
82
  ],
82
83
  member: [],
@@ -22,6 +22,7 @@ export const VIEW_SCOPE_MAP = {
22
22
  dashboard: 'org.view_dashboard',
23
23
  'organization-strategy': 'org.view_strategy',
24
24
  'system-snapshot': 'org.view_system',
25
+ 'company-admin': 'company.view_admin',
25
26
  // Public views (require only authentication)
26
27
  chat: null,
27
28
  settings: null,