diff --git a/jslib b/jslib index 5819023bc4..6c8407196b 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 5819023bc4986cdcff3004e3c75ee5ab8c9a1dfc +Subproject commit 6c8407196bf9e79468f8f6449b4377083ee6d36b diff --git a/src/app/organizations/manage/manage.component.html b/src/app/organizations/manage/manage.component.html index e5292c607a..c54f1a117f 100644 --- a/src/app/organizations/manage/manage.component.html +++ b/src/app/organizations/manage/manage.component.html @@ -15,6 +15,10 @@ *ngIf="organization.isAdmin && accessGroups"> {{'groups' | i18n}} + + {{'policies' | i18n}} + {{'eventLogs' | i18n}} diff --git a/src/app/organizations/manage/manage.component.ts b/src/app/organizations/manage/manage.component.ts index 51da6646f5..c6042bfbb3 100644 --- a/src/app/organizations/manage/manage.component.ts +++ b/src/app/organizations/manage/manage.component.ts @@ -14,6 +14,7 @@ import { Organization } from 'jslib/models/domain/organization'; }) export class ManageComponent implements OnInit { organization: Organization; + accessPolicies = false; accessGroups = false; accessEvents = false; @@ -22,6 +23,7 @@ export class ManageComponent implements OnInit { ngOnInit() { this.route.parent.params.subscribe(async (params) => { this.organization = await this.userService.getOrganization(params.organizationId); + this.accessPolicies = this.organization.usePolicies; this.accessEvents = this.organization.useEvents; this.accessGroups = this.organization.useGroups; }); diff --git a/src/locales/en/messages.json b/src/locales/en/messages.json index 839d2e4f35..c503f6584c 100644 --- a/src/locales/en/messages.json +++ b/src/locales/en/messages.json @@ -2047,6 +2047,9 @@ "people": { "message": "People" }, + "policies": { + "message": "Policies" + }, "groups": { "message": "Groups" },