|
1 | | -angular.module('stylet.acl', []); |
| 1 | +angular.module('ng-acl', []); |
2 | 2 | /** |
3 | 3 | * @interface AclResourceInterface |
4 | 4 | */ |
@@ -44,15 +44,15 @@ angular.module('stylet.acl', []); |
44 | 44 | * Provides a lightweight and flexible access control list (ACL) implementation for privileges management. |
45 | 45 | * In general, an application may utilize such ACL‘s to control access to certain protected objects by other requesting objects. |
46 | 46 | */ |
47 | | -angular.module('stylet.acl').service('AclService', ["AclRegistryService", function (AclRegistryService) { |
| 47 | +angular.module('ng-acl').service('AclService', ["AclRegistryService", function (AclRegistryService) { |
48 | 48 | 'use strict'; |
49 | 49 | var self = this; |
50 | 50 |
|
51 | 51 | self.TYPE_ALLOW = 'TYPE_ALLOW'; |
52 | 52 | self.TYPE_DENY = 'TYPE_DENY'; |
53 | 53 | self.OP_ADD = 'OP_ADD'; |
54 | 54 | self.OP_REMOVE = 'OP_REMOVE'; |
55 | | - self.USER_IDENTITY_ROLE = 'stylet.acl.role'; |
| 55 | + self.USER_IDENTITY_ROLE = 'ng-acl.role'; |
56 | 56 |
|
57 | 57 | var _userIdentity = null; |
58 | 58 | var _roleRegistry = new AclRegistryService();// jshint ignore:line |
@@ -1146,7 +1146,7 @@ angular.module('stylet.acl').service('AclService', ["AclRegistryService", functi |
1146 | 1146 | * @name AclRegistryService |
1147 | 1147 | * @description AclRegistryService factory |
1148 | 1148 | */ |
1149 | | -angular.module('stylet.acl').factory('AclRegistryService', function () { |
| 1149 | +angular.module('ng-acl').factory('AclRegistryService', function () { |
1150 | 1150 | 'use strict'; |
1151 | 1151 |
|
1152 | 1152 | /** |
|
0 commit comments