lonnieezell / Bonfire2

CodeIgniter 4-based application skeleton
MIT License
131 stars 50 forks source link

Add new group #293

Open cesarin80 opened 1 year ago

cesarin80 commented 1 year ago

Greetings, I added new groups in ..\app\Config\AuthGroups.php but they are not showing in the Dashboard. What is the right way?

lonnieezell commented 1 year ago

If the settings table in the database has already been populated, you'll need to erase the groups from that table and then they should show up.

The settings library will use what's in the database if it finds it there. Only if it doesn't find it there will it grab it from the config file.

msatyao commented 1 year ago

I have a similar issue, i deleted the value from the row "Config\AuthGroups "from Settings table but the admin panel crashes and shows no groups at all.

What is the correct way to erase the groups from that table?