mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-07 21:51:23 +00:00
Ticket #362: Changed url to be a bit more semantic.
This commit is contained in:
@@ -143,7 +143,7 @@ public class PermissionRESTService {
|
|||||||
* @param permission The permission to remove for the user with the given userID.
|
* @param permission The permission to remove for the user with the given userID.
|
||||||
*/
|
*/
|
||||||
@POST
|
@POST
|
||||||
@Path("/{userID}/remove")
|
@Path("/remove{userID}/")
|
||||||
public void removePermission(@QueryParam("token") String authToken,
|
public void removePermission(@QueryParam("token") String authToken,
|
||||||
@PathParam("userID") String userID, APIPermission permission) {
|
@PathParam("userID") String userID, APIPermission permission) {
|
||||||
UserContext userContext = authenticationService.getUserContextFromAuthToken(authToken);
|
UserContext userContext = authenticationService.getUserContextFromAuthToken(authToken);
|
||||||
|
Reference in New Issue
Block a user