@iblai/mcp 1.12.3 → 1.12.4
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.
|
@@ -322,8 +322,8 @@ Lower-level lock helpers also exported: \`readTenantSwitchLock\`,
|
|
|
322
322
|
|
|
323
323
|
A *pure watcher* holds the watcher RBAC permission (\`/watchedgroups/#list\`) but
|
|
324
324
|
is **not** a tenant admin. They may watch analytics without administering the
|
|
325
|
-
tenant, so they only reach **Courses**, **Programs**, **Memory
|
|
326
|
-
Reports**. An admin is never a pure watcher, however their permissions read.
|
|
325
|
+
tenant, so they only reach **Courses**, **Programs**, **Memory**,
|
|
326
|
+
**Transcripts** and **Data Reports**. An admin is never a pure watcher, however their permissions read.
|
|
327
327
|
|
|
328
328
|
\`\`\`typescript
|
|
329
329
|
import { useSelector } from 'react-redux';
|
|
@@ -344,7 +344,7 @@ const { currentTenant } = useCurrentTenant();
|
|
|
344
344
|
isPureWatcher(rbacPermissions, currentTenant); // boolean
|
|
345
345
|
|
|
346
346
|
getVisibleAnalyticsTabs(rbacPermissions, currentTenant);
|
|
347
|
-
// watcher -> ['courses', 'programs', 'memory', 'reports']
|
|
347
|
+
// watcher -> ['courses', 'programs', 'memory', 'transcripts', 'reports']
|
|
348
348
|
// everyone else -> ['', 'users', 'courses', 'programs', 'topics',
|
|
349
349
|
// 'transcripts', 'memory', 'financial', 'audit',
|
|
350
350
|
// 'monetization', 'reports']
|