[field policies] Allow field policies to hide private fields (#1289)
Use the private_fields :include | :show | :hide option in the field_policies section of your resource to control how private fields are handled by field policies.
For example:
# hide all private fields when authorizing
field_policies :hide
the current behavior. Private fields are ignored by field policies
field_policies :show
private fields can have field policies like any other field
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the production-dependencies group with 2 updates in the / directory: ash and ash_postgres.
Updates
ash
from 3.0.16 to 3.2.2Changelog
Sourced from ash's changelog.
... (truncated)
Commits
d6868dd
chore: release version v3.2.26632f59
chore: keep only correct changes from earlier reverts05cdaa0
Revert "fix: honor atomic validations in destroy actions usingfilter
"1db2b0f
Revert "chore: undo change to bulk destroy omitting changeset.filter"6484881
chore: undo change to bulk destroy omitting changeset.filtera6a9961
fix: honor atomic validations in destroy actions usingfilter
dad0bfd
fix: handle casting nil vectors (#1316)dd5bf4a
improvement: update spark for docs fixes, hide aggregate kinda49d99b
docs: Set default value forinclude_nil?
aggregate option (#1315)15655e0
fix: don't handlenil
inAsh.Type.cast_input/3
Updates
ash_postgres
from 2.0.12 to 2.1.8Changelog
Sourced from ash_postgres's changelog.
... (truncated)
Commits
aedbaee
chore: release version v2.1.8d5f5bae
test: add tests forinclude_nil?
onfirst
aggregates as well67ab07a
fix: update to latest ash version for aggregate fix7cf06f3
fix: update ash_sql for include_nil? fix and test it2393c2c
chore: update tests to account for non-keepable-atom-keys1e637f9
test: replicate error when building json object and using inline aggregate (#...a121ba1
chore: test changes & update dependencyde69ec0
chore: release version v2.1.68cd8650
improvement: update ash/igniter dependencies6b100a0
chore: update changelogUpdates
spark
from 2.2.7 to 2.2.10Changelog
Sourced from spark's changelog.
Commits
6a86a47
chore: release version v2.2.108dfb0e3
improvement: add docs & specs, andSpark.Igniter.has_extension/5
b3bda6b
chore: release version v2.2.909009c2
fix: hide hidden docs & auto_set_fields in options tables86e51d3
chore: update igniter depc531043
chore: release version v2.2.82cea9e4
improvement: addSpark.Igniter.prepend_to_section_order
16d752b
chore: make extension module prettierDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show