There should be a PermissionMigration that is extended in all the other packages that has a short format for adding a list of new Permissions (#22) for that package.
The permissions will use the findOrCreate method when added to the table to prevent overwriting the Permission in an app's existing table and changing the id number.
It will also add every Permission in the list to the admin Role.
There should also be a Helper function for adding specific Permissions to the other default Roles (#21).
There should be a
PermissionMigration
that is extended in all the other packages that has a short format for adding a list of new Permissions (#22) for that package.The permissions will use the
findOrCreate
method when added to the table to prevent overwriting the Permission in an app's existing table and changing the id number.It will also add every Permission in the list to the
admin
Role.There should also be a Helper function for adding specific Permissions to the other default Roles (#21).