@GET
    public APIPermissionSet getPermissions() throws GuacamoleException {
        return new APIPermissionSet(permissions);
    }
Gets a list of all permissions granted to the user or user group
associated with this PermissionSetResource.

@return
    A list of all permissions granted to the user or user group
    associated with this PermissionSetResource.

@throws GuacamoleException
    If an error occurs while retrieving permissions.
guacamole/src/main/java/org/apache/guacamole/rest/permission/PermissionSetResource.java