Skip to content

Commit 33adc76

Browse files
committed
minor fix
1 parent 9677df1 commit 33adc76

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

services/static-webserver/client/source/class/osparc/share/Collaborators.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,10 +189,13 @@ qx.Class.define("osparc.share.Collaborators", {
189189
// Access Rights are set at workspace level
190190
return false;
191191
}
192+
192193
let canIShare = false;
193194
switch (this._resourceType) {
194195
case "study":
195196
case "template":
197+
canIShare = osparc.study.Utils.canIWrite(this._serializedDataCopy["accessRights"]);
198+
break;
196199
case "service":
197200
canIShare = osparc.service.Utils.canIWrite(this._serializedDataCopy["accessRights"]);
198201
break;

0 commit comments

Comments
 (0)