Hypershield: use per column table hide for specificity (#9651)

This commit is contained in:
rhymes 2020-08-07 11:27:43 +02:00 committed by GitHub
parent 00b9d0ea12
commit 77f04bdf7c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,25 +14,25 @@ if Rails.env.production?
hypershield: {
# columns to hide
# matches table.column
hide: %w[
auth_data_dump
content
email
encrypted
encrypted_password
message_html
message_markdown
password
previous_refresh_token
refresh_token
secret
to
token
current_sign_in_ip
last_sign_in_ip
reset_password_token
remember_token
unconfirmed_email
hide: [
"ahoy_messages.content",
"ahoy_messages.to",
"email",
"encrypted",
"encrypted_password",
"identities.auth_data_dump",
"messages.message_html",
"messages.message_markdown",
"oauth_access_tokens.previous_refresh_token",
"oauth_access_tokens.refresh_token",
"password",
"secret",
"token",
"users.current_sign_in_ip",
"users.last_sign_in_ip",
"users.remember_token",
"users.reset_password_token",
"users.unconfirmed_email",
]
}
}