|
@@ -30,6 +30,24 @@
|
30
|
30
|
return luticateRequest.post("/api/luticate/groups/" + data.group_id + "/del", null, null, promise);
|
31
|
31
|
};
|
32
|
32
|
|
|
33
|
+ luticateAuthGroups.usersGetAll= function(data, promise)
|
|
34
|
+ {
|
|
35
|
+ return luticateRequest.get("/api/luticate/groups/" + data.group_id + "/users",
|
|
36
|
+ data, null, promise);
|
|
37
|
+ };
|
|
38
|
+
|
|
39
|
+ luticateAuthGroups.usersAdd = function(data, promise)
|
|
40
|
+ {
|
|
41
|
+ return luticateRequest.post("/api/luticate/groups/" + data.group_id + "/users/"
|
|
42
|
+ + data.user_id + "/add", data, null, promise);
|
|
43
|
+ };
|
|
44
|
+
|
|
45
|
+ luticateAuthGroups.usersDel = function(data, promise)
|
|
46
|
+ {
|
|
47
|
+ return luticateRequest.post("/api/luticate/groups/" + data.group_id + "/users/"
|
|
48
|
+ + data.user_id + "/del", data, null, promise);
|
|
49
|
+ };
|
|
50
|
+
|
33
|
51
|
return luticateAuthGroups;
|
34
|
52
|
}]);
|
35
|
53
|
})();
|