Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
How to make Role base Authentication in Simpleauth
  • To create user in admin panel (Super admin)
    Super admin
    >sub-admin
    >staff
       
    1.create sub-admin account ,and login with this account,on the dashboard "Welcome Sub-admin" will appear.
    2.create staff account ,and login with this account,on the dashboard "Welcome staff" will appear.

    Question:how to work with oil command for this and how to build database.

  • Oil doesn't do anything magical, you need to program all that?

    If you have configured your app for Simpleauth, and configured your DB config, just run the migrations from the Auth package, and it will create the users table for you.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion