Skip to content
This repository has been archived by the owner on Mar 18, 2022. It is now read-only.

Initiating roles and permissions #12

Closed
janareit opened this issue Feb 24, 2015 · 2 comments
Closed

Initiating roles and permissions #12

janareit opened this issue Feb 24, 2015 · 2 comments

Comments

@janareit
Copy link

Hey,

on L5 where would you put this initiating roles and permissions file?
Do you create some database/rbac/rbac_init.php file for it?

I understand that later for new users I would integrate this to users management but for initial start do you create them in some init file?

@romanbican
Copy link
Owner

Hello.

Well, sorry, but I don't understand you.

When you are starting, create you first roles and permissions through database seeds and attach permissions for example to a administrator role.

Then create administration panel, where you can attach (or detach of course) roles and permissions to a new users.

@janareit
Copy link
Author

Ok, forgot about db seeds. Thanks for hint!

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

No branches or pull requests

2 participants