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

Add a getter for keysToUpdate field in the Update class #4588

Open
hwhh opened this issue Dec 12, 2023 · 0 comments · May be fixed by #4589
Open

Add a getter for keysToUpdate field in the Update class #4588

hwhh opened this issue Dec 12, 2023 · 0 comments · May be fixed by #4589
Labels
type: enhancement A general enhancement

Comments

@hwhh
Copy link

hwhh commented Dec 12, 2023

Hi,

I am currently preforming field level authentication via an ABAC policy, and want support for allowing certain users to update certain fields. The Update class is a good syntactic sugar class but currently I can use it as I can't validate the fields being updated.

Alternatively it would be nice (not sure if possible) to "stage" the update and return the result POJO(s), that would result in the update being applied and then the document being loaded into memory through, for example, findById

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Dec 12, 2023
@hwhh hwhh linked a pull request Dec 12, 2023 that will close this issue
4 tasks
@christophstrobl christophstrobl added the type: enhancement A general enhancement label Dec 13, 2023
@mp911de mp911de removed the status: waiting-for-triage An issue we've not yet triaged label Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants