@Override
    public ObjectPermissionSet getSharingProfilePermissions()
            throws GuacamoleException {
        return sharingProfilePermissionService.getPermissionSet(
                getCurrentUser(), this, Collections.<String>emptySet());
    }
Returns whether this entity is effectively unrestricted by permissions,
such as a system administrator or an internal user operating via a
privileged UserContext. Permission inheritance via user groups is taken
into account.

@return
    true if this entity should be unrestricted by permissions, false
    otherwise.

@throws GuacamoleException
    If an error occurs while determining whether permission restrictions
    apply to the entity.
extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-base/src/main/java/org/apache/guacamole/auth/jdbc/base/ModeledPermissions.java