File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
services/static-webserver/client/source/class/osparc/study Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -67,13 +67,14 @@ qx.Class.define("osparc.study.SaveAsTemplate", {
6767 } ,
6868
6969 __publishTemplate : function ( ) {
70+ const readAccessRole = osparc . data . Roles . STUDY [ "read" ] ;
7071 // AccessRights will be POSTed after the template is created.
7172 // No need to add myself, backend will automatically do it
72- const accessRights = { }
73+ const accessRights = { } ;
7374 this . __studyDataClone [ "accessRights" ] = { } ;
7475 const selectedGroupIDs = this . __shareWith . getSelectedGroups ( ) ;
7576 selectedGroupIDs . forEach ( gid => {
76- accessRights [ gid ] = osparc . share . CollaboratorsStudy . getViewerAccessRight ( ) ;
77+ accessRights [ gid ] = readAccessRole . accessRights ;
7778 } ) ;
7879
7980 this . fireDataEvent ( "publishTemplate" , {
You can’t perform that action at this time.
0 commit comments