Skip to content

Commit c93348d

Browse files
committed
upgraded ABP scripts
1 parent b599d8b commit c93348d

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

Abp/Framework/scripts/abp.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@
5757
isDefault: boolean;
5858

5959
isDisabled: boolean;
60+
61+
isRightToLeft: boolean;
6062

6163
}
6264

Abp/Framework/scripts/abp.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,7 @@
139139
};
140140

141141
abp.auth.isGranted = function (permissionName) {
142-
return abp.auth.allPermissions[permissionName] != undefined &&
143-
abp.auth.grantedPermissions[permissionName] != undefined;
142+
return abp.auth.grantedPermissions[permissionName] != undefined;
144143
};
145144

146145
abp.auth.isAnyGranted = function () {

0 commit comments

Comments
 (0)