1234567891011121314151617181920212223242526272829303132333435363738394041 |
- /**
- * Created by robin on 11/2/15.
- */
-
- angular.module('luticate')
- .controller('UserEffectivePermissionsController', ['$scope', 'luticateAuthPermissions', 'data',
- function($scope, luticateAuthPermissions, data) {
-
- $scope.user = data;
-
- $scope.luPermissionEdit = {
- item: $scope.user,
-
- permissions: {
- add: '',
- del: '',
- edit: ''
- },
-
- getGetAllPromise: function (page, perPage, promise) {
- return luticateAuthPermissions.getAllEffectiveUser({
- user_id: this.item.Id,
- page: page,
- perPage: perPage
- }, promise);
- },
-
- getAddPermissionPromise: function (permission_name, permission_value, promise) {
- return null;
- },
-
- getEditPermissionPromise: function (permission_name, permission_value, promise) {
- return null;
- },
-
- getDelPermissionPromise: function (permission_name, promise) {
- return null;
- }
- };
-
- }]);
|