Open janicedatawire opened 8 years ago
You don't need more than one user to show this. Just log out, then log back in as the same user.
In general, I'm not concerned with people sharing terminals – devs basically never do that ever (it's a security risk, but more to the point, devs are religious about customizations to their environments, so much so that e.g. if you ask Phil to drive my laptop for a minute, he'll hate it). OTOH logging out and back in will definitely happen.
If more than one user is using the same terminal/computer to use the cloud tools CLI, services created by a user are only available during the session in which they were created. This is true whether the user logs out or if another user logs in while the original user is still actively logged in.
Note: as of midweek last week services were accessible across multiple sessions - something changed that caused it stop working later in the week (discovered on Friday).
User jmk1 creates three services:
Here's the datawire.json file:
User jmk2 logs in from the same terminal:
and datawire.json:
If I log back in as jmk1, I now get the following:
with this datawire.json:
And if I try to retrieve a token for one of those missing services I'm told I have no services: