F
Filamentβ€’12mo ago
Joey 😎

How to limit max resource to user

Anyone knows how to limit a how many resources a user can. create πŸ™‚
Solution:
On policies, you could count the relationship for the amount of resource items this user has created for this model and return false if count exceeds an allowed count.
Jump to solution
2 Replies
Solution
toeknee
toekneeβ€’12mo ago
On policies, you could count the relationship for the amount of resource items this user has created for this model and return false if count exceeds an allowed count.
Joey 😎
Joey 😎OPβ€’12mo ago
Thank you πŸ™‚
Want results from more Discord servers?
Add your server