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

Make allowedMetaFields option consistent across plugins #4217

Closed
2 tasks done
Tracked by #4764
aduh95 opened this issue Nov 14, 2022 · 0 comments
Closed
2 tasks done
Tracked by #4764

Make allowedMetaFields option consistent across plugins #4217

aduh95 opened this issue Nov 14, 2022 · 0 comments
Labels
4.0 For the 4.0 major version Feature

Comments

@aduh95
Copy link
Contributor

aduh95 commented Nov 14, 2022

Initial checklist

  • I understand this is a feature request and questions should be posted in the Community Forum
  • I searched issues and couldn’t find anything (or linked relevant results below)

Problem

allowedMetaFields sometimes defaults to null, sometimes to []. null is a confusing value.

Solution

  • Make it support boolean values, true meaning all files are allowed, false none are allowed (same as []).
  • Make it default to false on all plugins, so it's always opt-in to send metadata.

Alternatives

  • Make it default to trus on all plugins, so it's always opt-out to not send metadata.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.0 For the 4.0 major version Feature
Projects
None yet
Development

No branches or pull requests

2 participants