API Issue with Lab sharing
Posted: Fri May 05, 2023 3:27 pm
Hi,
I have an issue with the Lab sharing functionality and using EVE-NG API.
Lets suppose that user OWNER create a Lab called TESTLAB and share it to user USER.
When USER log in, it sees 2 times the lab in /Shared, once with name TESTLAB and one with name TESTLAB (OWNER).
When it acts on the TESTLAB, changed are not seen by OWNER, but when he works on TESTLAB(OWNER) then OWNER will see the changes.So I suppose that USER should use TESTLAB(OWNER) and not TESTLAB, problem solved.
But the issue is that both labs have the same path /Shared/TESTLAB.unl, and when accessing the lab via the API to start all node of the lab for example, API is only using the path, and is always choosing TESTLAB and not TESTLAB(OWNER). So if USER starts the nodes using the API, OWNER will not the the nodes running.
Any idea on how to solve this issue ?
Thanks and regards.
Alexandre
I have an issue with the Lab sharing functionality and using EVE-NG API.
Lets suppose that user OWNER create a Lab called TESTLAB and share it to user USER.
When USER log in, it sees 2 times the lab in /Shared, once with name TESTLAB and one with name TESTLAB (OWNER).
When it acts on the TESTLAB, changed are not seen by OWNER, but when he works on TESTLAB(OWNER) then OWNER will see the changes.So I suppose that USER should use TESTLAB(OWNER) and not TESTLAB, problem solved.
But the issue is that both labs have the same path /Shared/TESTLAB.unl, and when accessing the lab via the API to start all node of the lab for example, API is only using the path, and is always choosing TESTLAB and not TESTLAB(OWNER). So if USER starts the nodes using the API, OWNER will not the the nodes running.
Any idea on how to solve this issue ?
Thanks and regards.
Alexandre