Is there an easy way (built-in) to use the same access logic for custom endpoints?
yes
or
Star
Discord
online
Get help straight from the Payload team with an Enterprise License.