Super Simple User Based Feature Flags
Through a simple addition to the user model we can enable application features for specific users only
The config section
/*
| Features
| NU = Nudges are enabled
*/
'features' => [
'SE', // Search is enabled
'FL', // Flashcards are enabled
],
The User model
Restricting the use of the feature
Cleaning up afterwards
Last updated