Skip to content

Conversation

@bctiemann
Copy link
Contributor

Fixes: #16973 - Resolve $user token to User.id for use in permissions based on custom fields

Adds special handling for CONSTRAINT_TOKEN_USER ("$user" token) when used in custom fields in object-based permissions.

Copy link
Member

@jeremystretch jeremystretch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work @bctiemann!

@jeremystretch jeremystretch merged commit a7f83de into develop Aug 26, 2024
@jeremystretch jeremystretch deleted the 16973-custom-field-resolve-$user branch August 26, 2024 20:42
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Object of type User is not JSON serializable

3 participants