Declare policy View surfaces
This commit is contained in:
@@ -7,6 +7,7 @@ const policyAdminSections: AdminSectionsUiCapability = {
|
||||
sections: [
|
||||
{
|
||||
id: "system-retention",
|
||||
surfaceId: "policy.admin.system-retention",
|
||||
label: "Retention",
|
||||
group: "SYSTEM",
|
||||
order: 80,
|
||||
@@ -19,6 +20,7 @@ const policyAdminSections: AdminSectionsUiCapability = {
|
||||
},
|
||||
{
|
||||
id: "tenant-retention",
|
||||
surfaceId: "policy.admin.tenant-retention",
|
||||
label: "Retention",
|
||||
group: "TENANT",
|
||||
order: 80,
|
||||
@@ -31,6 +33,7 @@ const policyAdminSections: AdminSectionsUiCapability = {
|
||||
},
|
||||
{
|
||||
id: "tenant-group-retention",
|
||||
surfaceId: "policy.admin.group-retention",
|
||||
label: "Retention",
|
||||
group: "GROUP",
|
||||
order: 30,
|
||||
@@ -43,6 +46,7 @@ const policyAdminSections: AdminSectionsUiCapability = {
|
||||
},
|
||||
{
|
||||
id: "tenant-user-retention",
|
||||
surfaceId: "policy.admin.user-retention",
|
||||
label: "Retention",
|
||||
group: "USER",
|
||||
order: 30,
|
||||
@@ -61,6 +65,12 @@ export const policyModule: PlatformWebModule = {
|
||||
label: "Policy",
|
||||
version: "0.1.9",
|
||||
dependencies: ["access", "admin"],
|
||||
viewSurfaces: [
|
||||
{ id: "policy.admin.system-retention", moduleId: "policy", kind: "section", label: "System retention", order: 80 },
|
||||
{ id: "policy.admin.tenant-retention", moduleId: "policy", kind: "section", label: "Tenant retention", order: 80 },
|
||||
{ id: "policy.admin.group-retention", moduleId: "policy", kind: "section", label: "Group retention", order: 80 },
|
||||
{ id: "policy.admin.user-retention", moduleId: "policy", kind: "section", label: "User retention", order: 80 }
|
||||
],
|
||||
uiCapabilities: {
|
||||
"admin.sections": policyAdminSections
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user