Open SahilTikale opened 6 years ago
A regular user can do a GET /networks
to see all public networks. Or GET /project/<project>/networks
to see all networks that the project has access to. Looking at the code here, it only checks for access and not ownership. I think we had this discussion here earlier https://github.com/CCI-MOC/hil/pull/934
Current Scenario: HIL creates a network called "internet", and
grants-access
to all projects. Now if a user wishes to know what networks it has access to, only a HIL administrator can tell him/her. A user cannot find out themselves about the networks that are not owned by its project but have beengranted-access
to its project.We need a call that lists all the networks that have been shared with its project.
hil project network list shared <project name>
output: