feat: add permissions in system module (#1212)

#1196
This commit is contained in:
Muskan Khedia
2020-08-16 19:54:18 +05:30
committed by GitHub
parent 138ec45014
commit 1071f3828b
21 changed files with 45 additions and 37 deletions
@@ -93,7 +93,7 @@
<mat-card-actions fxLayout="row" fxLayout.xs="column" fxLayoutAlign="center" fxLayoutGap="5px">
<button type="button" mat-raised-button [routerLink]="['../']">Cancel</button>
<button mat-raised-button color="primary"
[disabled]="!dataTableForm.valid || dataTableForm.pristine && !isFormEdited">Submit</button>
[disabled]="!dataTableForm.valid || dataTableForm.pristine && !isFormEdited" *mifosxHasPermission="'UPDATE_DATATABLE'">Submit</button>
</mat-card-actions>
</form>