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

Adds show_sensitive_fields option to Resource to allow unredacting se… #86

Merged
merged 2 commits into from
Jan 5, 2024

Conversation

hanrelan
Copy link
Contributor

@hanrelan hanrelan commented Jan 5, 2024

This adds an option called show_sensitive_fields (accepts a list of atoms) to Resource that allows you to unredact sensitive fields from the admin panel.

Unredacted fields are treated the same as fields that aren't marked sensitive.

The main reason for this change is for people using the admin panel, it can be difficult to search for an item (eg. an email address) in a large table if it's hidden by default. This provides an escape hatch.

@zachdaniel zachdaniel merged commit 3a285e8 into ash-project:main Jan 5, 2024
4 checks passed
@zachdaniel
Copy link
Contributor

🚀 Thank you for your contribution! 🚀

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

Successfully merging this pull request may close these issues.

2 participants