Skip to content
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

Improve zone setting UX for scope-limited tokens #17

Closed
mattstein opened this issue Feb 25, 2020 · 2 comments
Closed

Improve zone setting UX for scope-limited tokens #17

mattstein opened this issue Feb 25, 2020 · 2 comments
Assignees

Comments

@mattstein
Copy link
Contributor

Raised here: #15 (comment)

The Craft user should be directed to hardcode their zone ID when verify-connection succeeds but zones can’t be listed for selection because of token restrictions. Right now, it blocks saving the settings but doesn’t explain why.

@mattstein mattstein self-assigned this Feb 25, 2020
@mattstein
Copy link
Contributor Author

mattstein commented Mar 7, 2020

Improved in f9719fb. If the credentials are valid and return [], hide the worthless+problematic select menu and show a text input with a note:

specify-zone

You can enter a value and save, so there’s no artificial reason to use a static config file. (Even though that’s still an option.)

mattstein added a commit that referenced this issue Apr 5, 2020
- Expanded automatic element URL purge options to include categories, tags, and Commerce variants and products. ([#16](#16))
- Improved zone selection for API tokens that can’t list zones. ([#17](#17))
- Moved documentation to its own site.
@mattstein
Copy link
Contributor Author

Finally added in 0.5.0.

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

No branches or pull requests

1 participant