Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permission Base Migration #23

Open
drewroberts opened this issue Feb 27, 2021 · 0 comments · Fixed by #29 or #35
Open

Permission Base Migration #23

drewroberts opened this issue Feb 27, 2021 · 0 comments · Fixed by #29 or #35
Assignees

Comments

@drewroberts
Copy link
Member

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants