Resources
The resource is the subject of the action you are performing.
Out of the box only all
is present. It's special and it will apply to all resources.
#
Extending the resourcesYou can extend the resources easily by passing a tuple to GuardBuilder
#
Prisma usersPrisma provides a type that contains the
You simply need to import the Prisma
named export from db
and use Prisma.ModelName
as part of your resource types.