Qiang Xue
66842a4806
Fixes test break.
11 years ago
Qiang Xue
14b782cf01
Added `$user` as the first parameter of `yii\rbac\Rule::execute()`
11 years ago
Qiang Xue
ce9a8f209a
Fixes #3132 : `yii\rbac\PhpManager` now supports more compact data file format
11 years ago
Qiang Xue
8ac8d487ad
Fixes #3128 : Fixed the bug that `defaultRoles` set in RBAC manager was not working as specified
11 years ago
Qiang Xue
c3f4e0057d
Refactored `yii\rbac\PhpManager`
...
Replaced `clearAll()` and `clearAllAssignments()` in `yii\rbac\ManagerInterface` with `removeAll()`, `removeAllRoles()`, `removeAllPermissions()`, `removeAllRules()` and `removeAllAssignments()`
11 years ago
tof06
22596ca248
Implement new RBAC PhpManager
11 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
Carsten Brandt
3fdcf11f24
updated phpdoc
11 years ago
Qiang Xue
e59b2d8948
refactored rule execution. [skip ci]
11 years ago
Qiang Xue
a404e00b02
simplified rule execution [skip ci]
11 years ago
Qiang Xue
f46b51eaf4
Better executeRule implementation.
11 years ago
Qiang Xue
c8d1709912
Fixes #3016 .
11 years ago
Alexander Makarov
40eb116640
Splitted saveRule into insertRule and updateRule
11 years ago
Alexander Makarov
f3dd74ff97
Removed custom Rule constructor
11 years ago
Alexander Makarov
7d3cf501d0
Fixed code formattins issues
11 years ago
Alexander Makarov
2c28198cd2
Fixes #499 : Decoupled `Rule` from RBAC `Item`
11 years ago
Alexander Makarov
0e6cbda43e
RBAC: decoupled rules from assignments and items, implemented php manager
11 years ago
Alexander Makarov
ab799d8ea9
Fixes #2911 : Removed `tbl_` default for table prefix
11 years ago
Carsten Brandt
435747cf98
apidoc and codestyle fixes
11 years ago
Carsten Brandt
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
11 years ago
Qiang Xue
8e11ad0360
refactored code to use Instance::ensure()
11 years ago
Qiang Xue
8c2e39235f
Turn module and application into DI containers.
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
75ee05b90e
more null fixes.
11 years ago
Luciano Baraglia
7d33a5d3b5
Some Code style fixes
11 years ago
Qiang Xue
ab5d7bd54c
Fixes #2051 : Do not save null data into database when using RBAC
11 years ago
Qiang Xue
0c38655217
psr-4 move
11 years ago
Alexander Kochetov
0d90541084
Moved from framework to yii
12 years ago
Alexander Kochetov
3fe23f83c7
Remove IManager interface
12 years ago
Alexander Kochetov
a03d1164ad
New condition hash format used where its possible
12 years ago
Alexander Kochetov
ded8c22b56
Exception types corrected
12 years ago
Alexander Kochetov
56757cdd94
PhpManager::saveToFile() LOCK_EX added
12 years ago
Alexander Kochetov
132391065c
Comment fixes
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