Skip to content

Commit

Permalink
#245 Allow user groups to be added to finalised models
Browse files Browse the repository at this point in the history
  • Loading branch information
pjmonks committed Jul 28, 2021
1 parent 0e89a0f commit 04135e9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/app/modals/security-modal/security-modal.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import { SecurityAccessResource, SecurityModalConfiguration } from './security-m
export class SecurityModalComponent implements OnInit {
element: CatalogueItem & SecurableModel;
resource: SecurityAccessResource;
canAddGroups: boolean;
canAddGroups = true;

constructor(
private dialogRef: MatDialogRef<SecurityModalComponent>,
Expand All @@ -40,7 +40,6 @@ export class SecurityModalComponent implements OnInit {
ngOnInit(): void {
this.element = this.data.element;
this.resource = this.data.resource;
this.canAddGroups = this.element.availableActions?.includes('update') ?? false;
}

close() {
Expand Down

0 comments on commit 04135e9

Please sign in to comment.