[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 4 updates: ash, ash_json_api, ash_postgres and makeup_erlang.
Updates
ash
from 3.1.2 to 3.2.2Changelog
Sourced from ash's changelog.
... (truncated)
Commits
Updates
ash_json_api
from 1.3.6 to 1.3.7Changelog
Sourced from ash_json_api's changelog.
Commits
c0258eb
chore: release version v1.3.7cec3fb1
fix: relationship resource identifiers don't need to check theid
type99711a2
test: add tests for composite primary key patch removala736c76
chore: escape the correct key55a752e
fix: properly reference related record in linkage57414bd
fix: escapemodify_open_api_schema
option since it can be a 3/tuple8870540
chore(deps): bump the production-dependencies group with 2 updates (#205)6b44371
chore: fix unknown error handling5f7fa81
fix: handle unknown errors inlog_errors/2
0629702
fix: ensure id is always coming back as a stringUpdates
ash_postgres
from 2.1.1 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
makeup_erlang
from 1.0.0 to 1.0.1Commits
866f342
Release v1.0.13d1ba96
Parse tabs correctly (#29)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