File tree 1 file changed +3
-3
lines changed
services/static-webserver/client/source/class/osparc/share
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ qx.Class.define("osparc.share.CollaboratorsService", {
54
54
return ;
55
55
}
56
56
57
- const readAccessRole = osparc . data . Roles . SERVICE [ "read" ] ;
57
+ const readAccessRole = osparc . data . Roles . SERVICES [ "read" ] ;
58
58
const newAccessRights = this . _serializedDataCopy [ "accessRights" ] ;
59
59
gids . forEach ( gid => {
60
60
newAccessRights [ gid ] = readAccessRole . accessRights ;
@@ -111,7 +111,7 @@ qx.Class.define("osparc.share.CollaboratorsService", {
111
111
} ,
112
112
113
113
_promoteToEditor : function ( collaborator , item ) {
114
- const writeAccessRole = osparc . data . Roles . SERVICE [ "write" ] ;
114
+ const writeAccessRole = osparc . data . Roles . SERVICES [ "write" ] ;
115
115
this . __make (
116
116
collaborator [ "gid" ] ,
117
117
writeAccessRole . accessRights ,
@@ -126,7 +126,7 @@ qx.Class.define("osparc.share.CollaboratorsService", {
126
126
} ,
127
127
128
128
_demoteToUser : function ( collaborator , item ) {
129
- const readAccessRole = osparc . data . Roles . SERVICE [ "read" ] ;
129
+ const readAccessRole = osparc . data . Roles . SERVICES [ "read" ] ;
130
130
this . __make (
131
131
collaborator [ "gid" ] ,
132
132
readAccessRole . accessRights ,
You can’t perform that action at this time.
0 commit comments