Browse Source

fixed get method

tags/0.1.0
Robin Thoni 9 years ago
parent
commit
158a0135a8
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/Auth/Business/LuticateBusiness.php

+ 2
- 2
src/Auth/Business/LuticateBusiness.php View File

117
             "${ns}LuticatePermissionsGroupsController", "edit", array(LuticatePermissions::PERM_GROUP_EDIT,
117
             "${ns}LuticatePermissionsGroupsController", "edit", array(LuticatePermissions::PERM_GROUP_EDIT,
118
                 LuticatePermissions::PERM_GROUP_GET));
118
                 LuticatePermissions::PERM_GROUP_GET));
119
 
119
 
120
-        $route->post("$prefix/permissions/user/$user_id/$permission_name", "${ns}LuticatePermissionsUsersController",
120
+        $route->get("$prefix/permissions/user/$user_id/$permission_name", "${ns}LuticatePermissionsUsersController",
121
             "get", LuticatePermissions::PERM_USER_GET);
121
             "get", LuticatePermissions::PERM_USER_GET);
122
-        $route->post("$prefix/permissions/user/$user_id", "${ns}LuticatePermissionsUsersController",
122
+        $route->get("$prefix/permissions/user/$user_id", "${ns}LuticatePermissionsUsersController",
123
             "getAllByUser", LuticatePermissions::PERM_USER_GET);
123
             "getAllByUser", LuticatePermissions::PERM_USER_GET);
124
         $route->post("$prefix/permissions/user/$user_id/add/$permission_name/$permission_value",
124
         $route->post("$prefix/permissions/user/$user_id/add/$permission_name/$permission_value",
125
             "${ns}LuticatePermissionsUsersController", "add", array(LuticatePermissions::PERM_USER_ADD,
125
             "${ns}LuticatePermissionsUsersController", "add", array(LuticatePermissions::PERM_USER_ADD,

Loading…
Cancel
Save