New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow users with read access to select an environment #240

Closed
tbarn opened this Issue Jun 19, 2018 · 3 comments

Comments

Projects
None yet
3 participants
@tbarn
Copy link
Collaborator

tbarn commented Jun 19, 2018

As Admin or Write Access user, I can see the “Environments” button in the upper right corner, enabling me to switch between environments.

Environment variables (e.g. user credentials for basic auth) are also automatically filled in when using Read view.

This provides a really quick way to use the “Send a Test Request” feature.

I think it’s kind of weird that Read Access users have no possibility to select an environment.
Since the people consulting the API spec (e.g. for clientside development) are imo the primary target users of the “Send a Test Request” feature, they’d benefit most from auto-filling variables.

from: https://community.stoplight.io/t/shouldnt-a-read-access-user-be-able-to-switch-between-environments/136

@lottamus lottamus self-assigned this Jun 26, 2018

@lottamus

This comment has been minimized.

Copy link
Member

lottamus commented Jun 26, 2018

When in readonly mode, the toolbar is only visible for the Scenarios editor.

We can change this to show for all editors

@tbarn

This comment has been minimized.

Copy link
Collaborator

tbarn commented Jul 6, 2018

Fixed in v4.3.0

@tbarn tbarn closed this Jul 6, 2018

@distinctgrey

This comment has been minimized.

Copy link

distinctgrey commented Jul 9, 2018

Thanks for the fix guys! Much appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment