File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
services/static-webserver/client/source/class/osparc/dashboard Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -409,6 +409,7 @@ qx.Class.define("osparc.dashboard.ResourceDetails", {
409409 return ;
410410 } else if ( osparc . utils . Resources . isFunction ( this . __resourceData ) ) {
411411 this . __addInfoPage ( ) ;
412+ this . __addPermissionsPage ( ) ;
412413 if ( this . __resourceModel . getFunctionClass ( ) === osparc . data . model . Function . FUNCTION_CLASS . PROJECT ) {
413414 this . __addPreviewPage ( ) ;
414415 }
@@ -641,6 +642,12 @@ qx.Class.define("osparc.dashboard.ResourceDetails", {
641642 const updatedData = e . getData ( ) ;
642643 this . __fireUpdateEvent ( resourceData , updatedData ) ;
643644 } , this ) ;
645+ } else if ( osparc . utils . Resources . isFunction ( resourceData ) ) {
646+ collaboratorsView = new osparc . share . CollaboratorsFunction ( resourceData ) ;
647+ collaboratorsView . addListener ( "updateAccessRights" , e => {
648+ const updatedData = e . getData ( ) ;
649+ this . __fireUpdateEvent ( resourceData , updatedData ) ;
650+ } , this ) ;
644651 } else {
645652 collaboratorsView = new osparc . share . CollaboratorsStudy ( resourceData ) ;
646653 if ( osparc . utils . Resources . isStudy ( resourceData ) ) {
You can’t perform that action at this time.
0 commit comments