Alexander Makarov
3eee7b8e4b
Fixes #4072 : `\yii\rbac\PhpManager` adjustments
...
- 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.
10 years ago
Qiang Xue
7bc52f32a4
Re-implemented RBAC by following more closely to the original NIST RBAC model. Dropped `yii\rbac\PhpManager`.
11 years ago
Qiang Xue
0b29c9607d
fixed broken API links [skip ci]
11 years ago
Alexander Makarov
0e6cbda43e
RBAC: decoupled rules from assignments and items, implemented php manager
11 years ago
Carsten Brandt
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
11 years ago
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
11 years ago
Carsten Brandt
262189533a
huge amount of documentation link fixes
11 years ago
Qiang Xue
0c38655217
psr-4 move
11 years ago
Qiang Xue
f72105166c
reorganized the main repo to satisfy PSR-0.
12 years ago
Qiang Xue
491e66083a
refactored RBAC.
12 years ago
Alexander Kochetov
af3f5af3be
RBAC: Item and Assignment optimized save approach
12 years ago
Alexander Kochetov
0d90541084
Moved from framework to yii
12 years ago
Alexander Kochetov
3fe23f83c7
Remove IManager interface
12 years ago
Alexander Kochetov
c9fe510ebb
Comment fixes + class descriptions added
12 years ago
Alexander Kochetov
850ff06560
DbManager added + other classes comments fixes
12 years ago
Alexander Kochetov
cd33870671
Moved to framework/rbac + method names refactoring
12 years ago
Alexander Kochetov
9158e110da
Auth manager init version
12 years ago