Skip to content

feat: add disable-authz attribute to entity-find/entity-find-one/entity-find-count#717

Open
jenshp wants to merge 1 commit into
moqui:masterfrom
Moitcl:disable-authz-entity-find
Open

feat: add disable-authz attribute to entity-find/entity-find-one/entity-find-count#717
jenshp wants to merge 1 commit into
moqui:masterfrom
Moitcl:disable-authz-entity-find

Conversation

@jenshp

@jenshp jenshp commented Jun 15, 2026

Copy link
Copy Markdown
Member

Add the same disable-authz attribute of the service-call tag to the entity-find, entity-find-one and entity-find-count tags.

Useful when needing to check business logic (e.g. reservations) where the user normally does not see rows due to EntityFilters, but needs to avoid collissions of resource usage, etc. We had lots of work-arounds in our code switching to groovy-based finds, or creating service-calls for the sole purpose of generating one or two queries with no entity filtering.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant