public void setSharingProfilePermissions(Map<String, Set<ObjectPermission.Type>> sharingProfilePermissions) {
        this.sharingProfilePermissions = sharingProfilePermissions;
    }
Replaces the current map of sharing profile permissions with the given
map, which must map each sharing profile identifier to its corresponding
set of granted permissions. If a sharing profile has no permissions, its
identifier must not be present as a key in the map.

@param sharingProfilePermissions
    The map which must replace the currently-stored map of permissions.
guacamole/src/main/java/org/apache/guacamole/rest/permission/APIPermissionSet.java