2025-01-29 20:42:01 -05:00
|
|
|
import React from 'react';
|
|
|
|
import { ManageIdentities } from '../identity/ManageIdentities';
|
|
|
|
import { ManagePermissions } from '../permissions/ManagePermissions';
|
|
|
|
import { AccessTokens } from './AccessTokens';
|
|
|
|
import { Preferences } from './Preferences';
|
|
|
|
import { ManagePolicies } from '../permissions/policy/ManagePolicies';
|
|
|
|
import { ManageViews } from '../entity/view/ManageViews';
|
|
|
|
import { ManageOwnership } from '../entityV2/ownership/ManageOwnership';
|
|
|
|
import ManagePosts from './posts/ManagePosts';
|
|
|
|
import { Features } from './features/Features';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* URL Paths for each settings page.
|
|
|
|
*/
|
|
|
|
export const PATHS = [
|
|
|
|
{ path: 'views', content: <ManageViews /> },
|
|
|
|
{ path: 'tokens', content: <AccessTokens /> },
|
2025-03-25 20:24:14 -04:00
|
|
|
{ path: 'identities', content: <ManageIdentities version="v2" /> },
|
2025-01-29 20:42:01 -05:00
|
|
|
{ path: 'policies', content: <ManagePolicies /> },
|
|
|
|
{ path: 'preferences', content: <Preferences /> },
|
|
|
|
{ path: 'permissions', content: <ManagePermissions /> },
|
|
|
|
{ path: 'ownership', content: <ManageOwnership /> },
|
|
|
|
{ path: 'posts', content: <ManagePosts /> },
|
|
|
|
{ path: 'features', content: <Features /> },
|
|
|
|
];
|
|
|
|
|
|
|
|
export const DEFAULT_PATH = PATHS[0];
|