@Path("permissions")
    public PermissionSetResource getPermissions() {
        return new PermissionSetResource(getInternalObject());
    }
Returns a resource which abstracts operations available on the overall
permissions granted directly to the User represented by this
UserResource.

@return
    A resource which representing the permissions granted to the User
    represented by this UserResource.
guacamole/src/main/java/org/apache/guacamole/rest/user/UserResource.java