Skip to content

Permissions

Karan Takalkar edited this page Aug 31, 2020 · 2 revisions

For enabling permissions in a module import the Directives module which contains the has-permission directive and then use the directive in templates wherever necessary.

Example usage:

`

...

`

Prevent override with other structural directives like *ngIf by using <span> or <ng-container elements.

For reference please look at:

accounting.component.html

Demo Credentials:

Username: mifos

Password: password

Clone this wiki locally