Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

feat(role-sa-fga): role sa fga followup changes (#11330)

SagarRajput-787ceba2d84fb
diff --git a/frontend/src/container/RolesSettings/RoleDetails/RoleDetailsPage.tsx b/frontend/src/container/RolesSettings/RoleDetails/RoleDetailsPage.tsx
index 3354e4f4f6..5a004e9307 100644
--- a/frontend/src/container/RolesSettings/RoleDetails/RoleDetailsPage.tsx
+++ b/frontend/src/container/RolesSettings/RoleDetails/RoleDetailsPage.tsx
@@ -1,6 +1,6 @@
import { useMemo, useState } from 'react';
import { useQueryClient } from 'react-query';
-import { useHistory, useLocation } from 'react-router-dom';
+import { Redirect, useHistory, useLocation } from 'react-router-dom';
import { Trash2 } from '@signozhq/icons';
import { Button } from '@signozhq/ui/button';
import { toast } from '@signozhq/ui/sonner';
@@ -26,7 +26,9 @@ import type { AuthzResources } from '../utils';
import ErrorInPlace from 'components/ErrorInPlace/ErrorInPlace';
import ROUTES from 'constants/routes';
import { capitalize } from 'lodash-es';
+import { useAppContext } from 'providers/App/App';
import { useErrorModal } from 'providers/ErrorModalProvider';
+import { LicenseStatus } from 'types/api/licensesV3/getActive';
import { RoleType } from 'types/roles';
import { handleApiError, toAPIError } from 'utils/errorUtils';
@@ -52,8 +54,9 @@ function RoleDetailsPage(): JSX.Element {
const queryClient = useQueryClient();
const { showErrorModal } = useErrorModal();
+ const { activeLicense, isFetchingActiveLicense } = useAppContext();
- const authzResources = permissionsType.data as unknown as AuthzResources;
+ const authzResources: AuthzResources = permissionsType.data;
// Extract roleId from URL pathname since useParams doesn't work in nested routing
const roleIdMatch = pathname.match(ROLE_ID_REGEX);
@@ -158,6 +161,22 @@ function RoleDetailsPage(): JSX.Element {
},
});
+ if (isFetchingActiveLicense) {
+ return (
+ <div className="role-details-page">
+ <Skeleton
+ active
+ paragraph={{ rows: 8 }}
+ className="role-details-skeleton"
+ />
+ </div>
+ );
+ }
+
+ if (activeLicense?.status !== LicenseStatus.VALID) {
+ return <Redirect to={ROUTES.ROLES_SETTINGS} />;
+ }
+
if (!hasReadPermission && readPerms !== null) {
return <PermissionDeniedFullPage permissionName="role:read" />;
}
diff --git a/frontend/src/container/RolesSettings/RoleDetails/__tests__/RoleDetailsPage.test.tsx b/frontend/src/container/RolesSettings/RoleDetails/__tests__/RoleDetailsPage.test.tsx
index 41a4721e77..5bba9b9504 100644
--- a/frontend/src/container/RolesSettings/RoleDetails/__tests__/RoleDetailsPage.test.tsx
+++ b/frontend/src/container/RolesSettings/RoleDetails/__tests__/RoleDetailsPage.test.tsx
@@ -5,6 +5,7 @@ import {
} from 'mocks-server/__mockdata__/roles';
import { server } from 'mocks-server/server';
import { rest } from 'msw';
+import { Route, Switch } from 'react-router-dom';
import {
fireEvent,
render,
@@ -15,6 +16,7 @@ import {
} from 'tests/test-utils';
import { useAuthZ } from 'hooks/useAuthZ/useAuthZ';
import {
+ invalidLicense,
mockUseAuthZDenyAll,
mockUseAuthZGrantAll,
} from 'tests/authz-test-utils';
@@ -230,6 +232,28 @@ describe('RoleDetailsPage', () => {
).resolves.toBeInTheDocument();
});
+ it('redirects to the roles list when license is not valid', async () => {
+ render(
+ <Switch>
+ <Route path="/settings/roles/:roleId">
+ <RoleDetailsPage />
+ </Route>
+ <Route path="/settings/roles" exact>
+ <div data-testid="roles-list-redirect-target" />
+ </Route>
+ </Switch>,
+ undefined,
+ {
+ initialRoute: `/settings/roles/${CUSTOM_ROLE_ID}`,
+ appContextOverrides: { activeLicense: invalidLicense },
+ },
+ );
+
+ await expect(
+ screen.findByTestId('roles-list-redirect-target'),
+ ).resolves.toBeInTheDocument();
+ });
+
describe('permission side panel', () => {
beforeEach(() => {
// Both hooks mocked so data renders synchronously — no React Query scheduler or MSW round-trip.
diff --git a/frontend/src/container/RolesSettings/RolesComponents/RolesListingTable.tsx b/frontend/src/container/RolesSettings/RolesComponents/RolesListingTable.tsx
index aa13e582c8..f9718eb110 100644
--- a/frontend/src/container/RolesSettings/RolesComponents/RolesListingTable.tsx
+++ b/frontend/src/container/RolesSettings/RolesComponents/RolesListingTable.tsx
@@ -11,7 +11,9 @@ import { RoleListPermission } from 'hooks/useAuthZ/permissions/role.permissions'
import { useAuthZ } from 'hooks/useAuthZ/useAuthZ';
import useUrlQuery from 'hooks/useUrlQuery';
import LineClampedText from 'periscope/components/LineClampedText/LineClampedText';
+import { useAppContext } from 'providers/App/App';
import { useTimezone } from 'providers/Timezone';
+import { LicenseStatus } from 'types/api/licensesV3/getActive';
import { RoleType } from 'types/roles';
import { toAPIError } from 'utils/errorUtils';
@@ -30,6 +32,9 @@ interface RolesListingTableProps {
function RolesListingTable({
searchQuery,
}: RolesListingTableProps): JSX.Element {
+ const { activeLicense } = useAppContext();
+ const isValidLicense = activeLicense?.status === LicenseStatus.VALID;
+
const { permissions: listPerms, isLoading: isAuthZLoading } = useAuthZ([
RoleListPermission,
]);
@@ -203,19 +208,27 @@ function RolesListingTable({
const renderRow = (role: AuthtypesRoleDTO): JSX.Element => (
<div
key={role.id}
- className="roles-table-row roles-table-row--clickable"
- role="button"
- tabIndex={0}
- onClick={(): void => {
- if (role.id) {
- navigateToRole(role.id, role.name);
- }
- }}
- onKeyDown={(e): void => {
- if ((e.key === 'Enter' || e.key === ' ') && role.id) {
- navigateToRole(role.id, role.name);
- }
- }}
+ className={`roles-table-row${isValidLicense ? ' roles-table-row--clickable' : ''}`}
+ role={isValidLicense ? 'button' : undefined}
+ tabIndex={isValidLicense ? 0 : undefined}
+ onClick={
+ isValidLicense
+ ? (): void => {
+ if (role.id) {
+ navigateToRole(role.id, role.name);
+ }
+ }
+ : undefined
+ }
+ onKeyDown={
+ isValidLicense
+ ? (e): void => {
+ if ((e.key === 'Enter' || e.key === ' ') && role.id) {
+ navigateToRole(role.id, role.name);
+ }
+ }
+ : undefined
+ }
>
<div className="roles-table-cell roles-table-cell--name">
{role.name ?? '—'}
diff --git a/frontend/src/container/RolesSettings/RolesSettings.tsx b/frontend/src/container/RolesSettings/RolesSettings.tsx
index 60b7310fcf..7e07dff0ee 100644
--- a/frontend/src/container/RolesSettings/RolesSettings.tsx
+++ b/frontend/src/container/RolesSettings/RolesSettings.tsx
@@ -4,6 +4,8 @@ import { Button } from '@signozhq/ui/button';
import { Input } from '@signozhq/ui/input';
import AuthZTooltip from 'components/AuthZTooltip/AuthZTooltip';
import { RoleCreatePermission } from 'hooks/useAuthZ/permissions/role.permissions';
+import { useAppContext } from 'providers/App/App';
+import { LicenseStatus } from 'types/api/licensesV3/getActive';
import CreateRoleModal from './RolesComponents/CreateRoleModal';
import RolesListingTable from './RolesComponents/RolesListingTable';
@@ -13,6 +15,8 @@ import './RolesSettings.styles.scss';
function RolesSettings(): JSX.Element {
const [searchQuery, setSearchQuery] = useState('');
const [isCreateModalOpen, setIsCreateModalOpen] = useState(false);
+ const { activeLicense } = useAppContext();
+ const isValidLicense = activeLicense?.status === LicenseStatus.VALID;
return (
<div className="roles-settings" data-testid="roles-settings">
@@ -38,17 +42,19 @@ function RolesSettings(): JSX.Element {
value={searchQuery}
onChange={(e): void => setSearchQuery(e.target.value)}
/>
- <AuthZTooltip checks={[RoleCreatePermission]}>
- <Button
- variant="solid"
- color="primary"
- className="role-settings-toolbar-button"
- onClick={(): void => setIsCreateModalOpen(true)}
- >
- <Plus size={14} />
- Custom role
- </Button>
- </AuthZTooltip>
+ {isValidLicense && (
+ <AuthZTooltip checks={[RoleCreatePermission]}>
+ <Button
+ variant="solid"
+ color="primary"
+ className="role-settings-toolbar-button"
+ onClick={(): void => setIsCreateModalOpen(true)}
+ >
+ <Plus size={14} />
+ Custom role
+ </Button>
+ </AuthZTooltip>
+ )}
</div>
<RolesListingTable searchQuery={searchQuery} />
</div>
diff --git a/frontend/src/container/RolesSettings/__tests__/RolesSettings.test.tsx b/frontend/src/container/RolesSettings/__tests__/RolesSettings.test.tsx
index 2ae3f73aa6..0d942b54c9 100644
--- a/frontend/src/container/RolesSettings/__tests__/RolesSettings.test.tsx
+++ b/frontend/src/container/RolesSettings/__tests__/RolesSettings.test.tsx
@@ -6,7 +6,7 @@ import { server } from 'mocks-server/server';
import { rest } from 'msw';
import { fireEvent, render, screen } from 'tests/test-utils';
import { useAuthZ } from 'hooks/useAuthZ/useAuthZ';
-import { mockUseAuthZGrantAll } from 'tests/authz-test-utils';
+import { invalidLicense, mockUseAuthZGrantAll } from 'tests/authz-test-utils';
import RolesSettings from '../RolesSettings';
@@ -176,6 +176,26 @@ describe('RolesSettings', () => {
}
});
+ it('hides the create button and disables row clicks when license is not valid', async () => {
+ render(<RolesSettings />, undefined, {
+ appContextOverrides: { activeLicense: invalidLicense },
+ });
+
+ await expect(screen.findByText('signoz-admin')).resolves.toBeInTheDocument();
+
+ // Create button must be absent
+ expect(
+ screen.queryByRole('button', { name: /custom role/i }),
+ ).not.toBeInTheDocument();
+
+ // Rows must not carry the clickable class or button role
+ const rows = document.querySelectorAll('.roles-table-row');
+ rows.forEach((row) => {
+ expect(row).not.toHaveClass('roles-table-row--clickable');
+ expect(row.getAttribute('role')).not.toBe('button');
+ });
+ });
+
it('handles invalid dates gracefully by showing fallback', async () => {
const invalidRole = {
id: 'edge-0009',
diff --git a/frontend/src/container/RolesSettings/__tests__/utils.test.ts b/frontend/src/container/RolesSettings/__tests__/utils.test.ts
index b42f7e3999..054b965aff 100644
--- a/frontend/src/container/RolesSettings/__tests__/utils.test.ts
+++ b/frontend/src/container/RolesSettings/__tests__/utils.test.ts
@@ -1,5 +1,4 @@
import type {
- CoretypesResourceRefDTO,
CoretypesObjectGroupDTO,
CoretypesTypeDTO,
} from 'api/generated/services/sigNoz.schemas';
@@ -8,11 +7,7 @@ import type {
PermissionConfig,
ResourceDefinition,
} from '../PermissionSidePanel/PermissionSidePanel.types';
-
-type AuthzResources = {
- resources: CoretypesResourceRefDTO[];
- relations: Record<string, string[]>;
-};
+import type { AuthzResources } from '../utils';
import { PermissionScope } from '../PermissionSidePanel/PermissionSidePanel.types';
import {
buildConfig,
@@ -41,12 +36,14 @@ jest.mock('../RoleDetails/constants', () => {
const dashboardResource: AuthzResources['resources'][number] = {
kind: 'dashboard',
- type: 'metaresource' as CoretypesTypeDTO,
+ type: 'metaresource',
+ allowedVerbs: ['create', 'read', 'update', 'delete', 'list'],
};
const alertResource: AuthzResources['resources'][number] = {
kind: 'alert',
- type: 'metaresource' as CoretypesTypeDTO,
+ type: 'metaresource',
+ allowedVerbs: ['create', 'read', 'update', 'delete', 'list'],
};
const baseAuthzResources: AuthzResources = {
@@ -57,6 +54,16 @@ const baseAuthzResources: AuthzResources = {
},
};
+// API payload resource refs — only kind+type, no allowedVerbs (matches CoretypesResourceRefDTO shape)
+const dashboardResourceRef = {
+ kind: 'dashboard',
+ type: 'metaresource' as CoretypesTypeDTO,
+};
+const alertResourceRef = {
+ kind: 'alert',
+ type: 'metaresource' as CoretypesTypeDTO,
+};
+
const resourceDefs: ResourceDefinition[] = [
{
id: 'metaresource:dashboard',
@@ -107,7 +114,7 @@ describe('buildPatchPayload', () => {
});
expect(result.additions).toStrictEqual([
- { resource: dashboardResource, selectors: [ID_B] },
+ { resource: dashboardResourceRef, selectors: [ID_B] },
]);
expect(result.deletions).toBeNull();
});
@@ -142,7 +149,7 @@ describe('buildPatchPayload', () => {
});
expect(result.deletions).toStrictEqual([
- { resource: dashboardResource, selectors: [ID_B] },
+ { resource: dashboardResourceRef, selectors: [ID_B] },
]);
expect(result.additions).toBeNull();
});
@@ -207,10 +214,10 @@ describe('buildPatchPayload', () => {
});
expect(result.deletions).toStrictEqual([
- { resource: dashboardResource, selectors: ['*'] },
+ { resource: dashboardResourceRef, selectors: ['*'] },
]);
expect(result.additions).toStrictEqual([
- { resource: dashboardResource, selectors: [ID_A, ID_B] },
+ { resource: dashboardResourceRef, selectors: [ID_A, ID_B] },
]);
});
@@ -241,7 +248,7 @@ describe('buildPatchPayload', () => {
});
expect(result.deletions).toStrictEqual([
- { resource: dashboardResource, selectors: ['*'] },
+ { resource: dashboardResourceRef, selectors: ['*'] },
]);
expect(result.additions).toBeNull();
});
@@ -264,7 +271,7 @@ describe('buildPatchPayload', () => {
});
expect(result.deletions).toStrictEqual([
- { resource: dashboardResource, selectors: ['*'] },
+ { resource: dashboardResourceRef, selectors: ['*'] },
]);
expect(result.additions).toBeNull();
});
@@ -287,7 +294,7 @@ describe('buildPatchPayload', () => {
});
expect(result.additions).toStrictEqual([
- { resource: dashboardResource, selectors: ['*'] },
+ { resource: dashboardResourceRef, selectors: ['*'] },
]);
expect(result.deletions).toBeNull();
});
@@ -313,7 +320,7 @@ describe('buildPatchPayload', () => {
});
expect(result.deletions).toStrictEqual([
- { resource: dashboardResource, selectors: [ID_A, ID_B] },
+ { resource: dashboardResourceRef, selectors: [ID_A, ID_B] },
]);
expect(result.additions).toBeNull();
});
@@ -339,7 +346,7 @@ describe('buildPatchPayload', () => {
});
expect(result.additions).toStrictEqual([
- { resource: dashboardResource, selectors: [ID_A] },
+ { resource: dashboardResourceRef, selectors: [ID_A] },
]);
expect(result.deletions).toBeNull();
});
@@ -385,7 +392,7 @@ describe('buildPatchPayload', () => {
});
expect(result.additions).toStrictEqual([
- { resource: alertResource, selectors: [ID_B] },
+ { resource: alertResourceRef, selectors: [ID_B] },
]);
expect(result.deletions).toBeNull();
});
@@ -394,7 +401,7 @@ describe('buildPatchPayload', () => {
describe('objectsToPermissionConfig', () => {
it('maps a wildcard selector to ALL scope', () => {
const objects: CoretypesObjectGroupDTO[] = [
- { resource: dashboardResource, selectors: ['*'] },
+ { resource: dashboardResourceRef, selectors: ['*'] },
];
const result = objectsToPermissionConfig(objects, resourceDefs);
@@ -407,7 +414,7 @@ describe('objectsToPermissionConfig', () => {
it('maps specific selectors to ONLY_SELECTED scope with the IDs', () => {
const objects: CoretypesObjectGroupDTO[] = [
- { resource: dashboardResource, selectors: [ID_A, ID_B] },
+ { resource: dashboardResourceRef, selectors: [ID_A, ID_B] },
];
const result = objectsToPermissionConfig(objects, resourceDefs);
@@ -566,4 +573,41 @@ describe('deriveResourcesForRelation', () => {
deriveResourcesForRelation(baseAuthzResources, 'nonexistent'),
).toHaveLength(0);
});
+
+ describe('allowedVerbs filtering', () => {
+ it('excludes resources whose allowedVerbs does not include the relation', () => {
+ const authz: AuthzResources = {
+ resources: [
+ {
+ kind: 'dashboard',
+ type: 'metaresource',
+ allowedVerbs: ['create', 'read', 'update', 'delete', 'list'],
+ },
+ {
+ kind: 'alert',
+ type: 'metaresource',
+ allowedVerbs: ['create', 'read', 'update', 'delete', 'list', 'attach'],
+ },
+ ],
+ relations: { attach: ['metaresource'] },
+ };
+
+ const result = deriveResourcesForRelation(authz, 'attach');
+
+ expect(result).toHaveLength(1);
+ expect(result[0].id).toBe('metaresource:alert');
+ });
+
+ it('requires both type-relation match and allowedVerbs — neither condition alone is sufficient', () => {
+ const authz: AuthzResources = {
+ resources: [
+ { kind: 'dashboard', type: 'metaresource', allowedVerbs: ['read'] },
+ { kind: 'role', type: 'role', allowedVerbs: ['create'] },
+ ],
+ relations: { create: ['metaresource'] },
+ };
+
+ expect(deriveResourcesForRelation(authz, 'create')).toHaveLength(0);
+ });
+ });
});
diff --git a/frontend/src/container/RolesSettings/utils.tsx b/frontend/src/container/RolesSettings/utils.tsx
index 41b8e24657..c9435b3041 100644
--- a/frontend/src/container/RolesSettings/utils.tsx
+++ b/frontend/src/container/RolesSettings/utils.tsx
@@ -1,8 +1,9 @@
import React from 'react';
import { Badge } from '@signozhq/ui/badge';
import type {
- CoretypesResourceRefDTO,
CoretypesObjectGroupDTO,
+ CoretypesResourceRefDTO,
+ CoretypesTypeDTO,
} from 'api/generated/services/sigNoz.schemas';
import { DATE_TIME_FORMATS } from 'constants/dateTimeFormats';
import { capitalize } from 'lodash-es';
@@ -21,7 +22,11 @@ import {
} from './RoleDetails/constants';
export type AuthzResources = {
- resources: ReadonlyArray<CoretypesResourceRefDTO>;
+ resources: ReadonlyArray<{
+ kind: string;
+ type: string;
+ allowedVerbs: readonly string[];
+ }>;
relations: Readonly<Record<string, ReadonlyArray<string>>>;
};
@@ -69,7 +74,9 @@ export function deriveResourcesForRelation(
}
const supportedTypes = authzResources.relations[relation] ?? [];
return authzResources.resources
- .filter((r) => supportedTypes.includes(r.type))
+ .filter(
+ (r) => supportedTypes.includes(r.type) && r.allowedVerbs.includes(relation),
+ )
.map((r) => ({
id: `${r.type}:${r.kind}`,
kind: r.kind,
@@ -141,7 +148,7 @@ export function buildPatchPayload({
}
const resourceDef: CoretypesResourceRefDTO = {
kind: found.kind,
- type: found.type,
+ type: found.type as CoretypesTypeDTO,
};
const initialScope = initial?.scope ?? PermissionScope.NONE;
diff --git a/frontend/src/tests/authz-test-utils.ts b/frontend/src/tests/authz-test-utils.ts
index 5f3158986f..4b0e735d36 100644
--- a/frontend/src/tests/authz-test-utils.ts
+++ b/frontend/src/tests/authz-test-utils.ts
@@ -11,6 +11,13 @@ import type {
} from 'hooks/useAuthZ/types';
import { rest } from 'msw';
import type { RestHandler } from 'msw';
+import {
+ LicenseEvent,
+ LicensePlatform,
+ type LicenseResModel,
+ LicenseState,
+ LicenseStatus,
+} from 'types/api/licensesV3/getActive';
export const AUTHZ_CHECK_URL = `${ENVIRONMENT.baseURL || ''}/api/v1/authz/check`;
@@ -97,6 +104,40 @@ export function setupAuthzAllow(
});
}
+export function buildLicense(
+ overrides?: Partial<LicenseResModel>,
+): LicenseResModel {
+ return {
+ key: 'test-key',
+ status: LicenseStatus.VALID,
+ state: LicenseState.ACTIVATED,
+ platform: LicensePlatform.CLOUD,
+ event_queue: {
+ created_at: '0',
+ event: LicenseEvent.NO_EVENT,
+ scheduled_at: '0',
+ status: '',
+ updated_at: '0',
+ },
+ plan: {
+ created_at: '0',
+ description: '',
+ is_active: true,
+ name: '',
+ updated_at: '0',
+ },
+ plan_id: '0',
+ free_until: '0',
+ updated_at: '0',
+ valid_from: 0,
+ valid_until: 0,
+ created_at: '0',
+ ...overrides,
+ };
+}
+
+export const invalidLicense = buildLicense({ status: LicenseStatus.INVALID });
+
export function mockUseAuthZGrantAll(
permissions: BrandedPermission[],
_options?: UseAuthZOptions,
diff --git a/frontend/src/utils/permission/index.ts b/frontend/src/utils/permission/index.ts
index 4b41ec9fd5..abb0ebe868 100644
--- a/frontend/src/utils/permission/index.ts
+++ b/frontend/src/utils/permission/index.ts
@@ -48,7 +48,7 @@ export const routePermission: Record<keyof typeof ROUTES, ROLES[]> = {
HOME: ['ADMIN', 'EDITOR', 'VIEWER'],
ALERTS_NEW: ['ADMIN', 'EDITOR'],
ORG_SETTINGS: ['ADMIN'],
- MY_SETTINGS: ['ADMIN', 'EDITOR', 'VIEWER'],
+ MY_SETTINGS: ['ADMIN', 'EDITOR', 'VIEWER', 'ANONYMOUS'],
SERVICE_MAP: ['ADMIN', 'EDITOR', 'VIEWER'],
ALL_CHANNELS: ['ADMIN', 'EDITOR', 'VIEWER'],
INGESTION_SETTINGS: ['ADMIN', 'EDITOR', 'VIEWER'],
@@ -72,7 +72,7 @@ export const routePermission: Record<keyof typeof ROUTES, ROLES[]> = {
NOT_FOUND: ['ADMIN', 'VIEWER', 'EDITOR', 'ANONYMOUS'],
PASSWORD_RESET: ['ADMIN', 'EDITOR', 'VIEWER'],
SERVICE_METRICS: ['ADMIN', 'EDITOR', 'VIEWER'],
- SETTINGS: ['ADMIN', 'EDITOR', 'VIEWER'],
+ SETTINGS: ['ADMIN', 'EDITOR', 'VIEWER', 'ANONYMOUS'],
SIGN_UP: ['ADMIN', 'EDITOR', 'VIEWER'],
TRACES_EXPLORER: ['ADMIN', 'EDITOR', 'VIEWER'],
TRACE: ['ADMIN', 'EDITOR', 'VIEWER'],
@@ -98,10 +98,10 @@ export const routePermission: Record<keyof typeof ROUTES, ROLES[]> = {
GET_STARTED_AZURE_MONITORING: ['ADMIN', 'EDITOR', 'VIEWER'],
WORKSPACE_LOCKED: ['ADMIN', 'EDITOR', 'VIEWER'],
WORKSPACE_SUSPENDED: ['ADMIN', 'EDITOR', 'VIEWER'],
- ROLES_SETTINGS: ['ADMIN', 'EDITOR', 'VIEWER'],
- ROLE_DETAILS: ['ADMIN', 'EDITOR', 'VIEWER'],
+ ROLES_SETTINGS: ['ADMIN', 'EDITOR', 'VIEWER', 'ANONYMOUS'],
+ ROLE_DETAILS: ['ADMIN', 'EDITOR', 'VIEWER', 'ANONYMOUS'],
MEMBERS_SETTINGS: ['ADMIN'],
- SERVICE_ACCOUNTS_SETTINGS: ['ADMIN', 'EDITOR', 'VIEWER'],
+ SERVICE_ACCOUNTS_SETTINGS: ['ADMIN', 'EDITOR', 'VIEWER', 'ANONYMOUS'],
BILLING: ['ADMIN'],
SUPPORT: ['ADMIN', 'EDITOR', 'VIEWER', 'ANONYMOUS'],
SOMETHING_WENT_WRONG: ['ADMIN', 'EDITOR', 'VIEWER'],