ITISFoundation / osparc-issues

🐼 issue-only repo for the osparc project
3 stars 5 forks source link

Link to share template doesn't work #1124

Open elisabettai opened 1 year ago

elisabettai commented 1 year ago

Long Story Short I want to share a link of the template with someone. In the UI, I see a link containing a "#", it should be without I believe. Right, @pcrespov? study uuid: 65a52908-1b13-11ee-9cd1-02420a0b1bed. It is a template shared with everyone, but not marked as "published" in the DB. image

pcrespov commented 1 year ago

As you can read in the label above the link: only logged-in users with access to study can open it with this link. A permalink with all its variants (i.e. w/ or w/o logged user etc) is indeed another type of link. From the top of my head, the front-end will show you different links depending on the type of project . if the project has the right conditions (e.g. public, login-reuired, etc) it will provide a link like the one you mention

elisabettai commented 1 year ago

@odeimaiz, see comment above from @pcrespov. The screenshot I have is for a template. Not sure I understand fully, but maybe the frontend is able to "understand" that this is template, so it can show the link without the "#"? Are you getting that this should be a permalink?

odeimaiz commented 1 year ago

@elisabettai @pcrespov In the case of a Study it's true that the frontend "composes" the link, but for templates, the permalink is given or not by the backend.

odeimaiz commented 1 month ago

Link to share template was removed long ago.