Now problem is, with Postman Team, it shares all the variables, meaning I am forced to share my username/password as well. If I donāt use variables and hardcode the values, then everybody in the team will inadvertently share the same hardcoded value and/or they will end up keep having to overwrite each other values as they do their own testing.
Is there a āprivate variableā feature where it stays in userās local machine for such cases, so itās not shared?
@tsurjo This has now been streamlined with our latest release of Postman workspaces, which will allow all recipients of your shared collection to use environments in their respective personal workspaces. You can share the intended collection within a staging workspace, from where the intended recipients can share it back to their respective personal workspaces, which will allow them to use this collection with their personal environments.
When people make changes to the Collection in their personal workspace - would it be reflected back to the team workspace or do they have to manually ācopyā it over everytime?
When thereās an update from other people in the team, do they have to reshare it to their personal workspace everytime?
With personal workspace, it doesnāt share the team environment setting, that means everybody will need to set up a personal copy of the environment variable (eg. host url, etc)?
Absolutely agree with the points made by tsurjo when using the team Workspace. For the purpose my team has eg, secrets held in environments, we can only use the team Workspace if we manually share to my Workspace each time we want to run a new version.
Of course if I then want to update that collection I need to go back to the team workspace and then make changes, and share again back to my workspace. This seems like a very manual and slow process.
In my mind the Team Workspace would then allow you to drop any of your personal environments from my personal Workspace.
Private variables are almost a necessity for a development project like this with security.
Yes we copy to our private workspace but them any changes have to be carefully merged back because more than one person can be making changes that need to be merged in.
I wish we had this too, we have our workspace set up great, except sometimes we stomp on eachotherās environment variables. I wish there was just a per-user environment, just like the globals and regular environment.
@rlabrecque
I can think of a few things to help you out (these arenāt alternatives to the idea of private environments, Iāll call them workarounds):
You can maintain your own environments in your personal workspaces, and share (I donāt mean export and import here) the collections from a team workspace into your personal workspaces, and use your personal environments.
Even when the collection gets updated by some other team member, youāll always have the access to the latest collection since the source of truth is the same.
In case you modify the collection, then you can fork it to your personal workspace, and use it with your personal environments, once all looks good you can merge your changes to the original collection and update the environment in the team-workspace accordingly.
If session variables donāt help you out,
then thereās something similar which is part of the Postmanās roadmap which is āRole-based access control over the environmentsā, using this youāll be able to control who can change what environment in a team workspace.
Just started using a team workspace today and was surprised (and disappointed) to see this is an issue.
I didnāt see this specifically mentioned above. But, has the postman team considered having another scope for environments. What Iām looking for (and I think what people above were expressing) is a way to override certain environment variables with a ālocal scopeā. I.e., an environment variable thatās only local and not shared in the workspace which would override the variables in the environment defined in the workspace.
This would, e.g., let you override email and password variables with your own email and password without requiring you to put that in a shared environment (which wouldnāt work well anyway since different people very likely need to use different emails / passwords ).
Looks like you can do a workaround for my use case above by setting the ācurrent valueā for the global (which isnāt synched with the team). It will just get blown away if the variables are updated. Works ok, but still not ideal. /shrug