File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
services/static-webserver/client/source/class/osparc/share Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -352,8 +352,8 @@ qx.Class.define("osparc.share.Collaborators", {
352352 const myGid = osparc . auth . Data . getInstance ( ) . getGroupId ( ) ;
353353 if (
354354 ( this . _resourceType === "study" ) &&
355- // check if I'm part of the shared (not through an organization)
356- ( Object . keys ( this . _serializedDataCopy [ "accessRights" ] ) . includes ( myGid ) ) &&
355+ // check if I'm part of the access rights (not through an organization)
356+ ( Object . keys ( this . _serializedDataCopy [ "accessRights" ] ) . includes ( myGid . toString ( ) ) ) &&
357357 // check also user is not "prjOwner". Backend will silently not let the frontend remove that user.
358358 ( this . _serializedDataCopy [ "prjOwner" ] !== osparc . auth . Data . getInstance ( ) . getEmail ( ) )
359359 ) {
You can’t perform that action at this time.
0 commit comments