1. 28 Jun, 2014 1 commit
    • Fixes #4072: `\yii\rbac\PhpManager` adjustments · 3eee7b8e
      Alexander Makarov authored
      - Data is now stored in three separate files for items, assignments and rules. File format is simpler.
      - Removed `authFile`. Added `itemsFile`, `assignmentsFile` and `rulesFile`.
      - `createdAt` and `updatedAt` are now properly filled with corresponding file modification time.
      - `save()` and `load()` are now protected instead of public.
      - Added unit test for saving and loading data.