Skip to content

Permissions

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

Note: 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:

<div *mifosxHasPermission="'CREATE_CLIENT'">

  ...

</div>

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