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

Seeder: How to define multiple permissions and rules #118

Open
garbinmarcelo opened this issue Jun 14, 2017 · 0 comments
Open

Seeder: How to define multiple permissions and rules #118

garbinmarcelo opened this issue Jun 14, 2017 · 0 comments

Comments

@garbinmarcelo
Copy link

Hi,

I have several permissions, how can I add all of them in a rule by seeder (https://github.com/artesaos/defender#with-the-seeder-or-artisan-tinker)?

Or what better way to create multiple permissions and define in a rule via seeder?

Can I create a field in roles with readable_name and set this in seeder?
Ex:. Defender::createRole ('admin', 'Administrator');

Thank's

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

No branches or pull requests

1 participant