jurassicjs / avantage

A head start for your next Nuxt Appliction

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Roles and Permissions

rohrig opened this issue · comments

#Roles and Permissions

It would be cool to have a roles and permission module integrated.

Requirements

Can I add these Prisma migrations as part of a module?

  • Migrations / Models
    • Roles
    • Permissions
    • RolePermissions
    • UserRoles

Example Usage:
const canEditPost = user.can('edit-post')