Make "Import variables" available for write-access users


Currently the “Import variables” button is only available to admins, however, if one has write-access to two projects then they should be able to import variables between those projects. After all, the variables are obscured so it shouldn’t present a security risk.


This would actually make the “Import Variables” feature useful. We’ve got a project setup w/ all the env vars all the projects needs. But I can’t import them into a new project even though I added both projects to circle ci.

The idea behind this feature is to allow re-use w/o bugging the keeper of the secrets. In the current implementation, when a new project is added, the keeper still needs to go in and copy the env vars.