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
Carsten Brandt
3fdcf11f24
updated phpdoc
11 years ago
Qiang Xue
e59b2d8948
refactored rule execution. [skip ci]
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
7d3cf501d0
Fixed code formattins issues
11 years ago
Alexander Makarov
0e6cbda43e
RBAC: decoupled rules from assignments and items, implemented php manager
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
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
975f263ef4
Fixes #1356 : Alias for authFile in rbac/PhpManager not resolved
11 years ago
Panagiotis Moustafellos
ec37003a9a
revokeAll() implementation for PhpManager
11 years ago
slavcodev
b0b1c27c85
Fix phpDoc var tag format
11 years ago
Taras Gudz
9b95a81b0c
Fixed the rest phpDocs [skip ci]
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
11 years ago
Carsten Brandt
ca69ef09d4
update of @property annotations
11 years ago
Alexander Makarov
cc0fe1b02c
code style fixes
11 years ago
resurtm
7a7d2a9c06
CS fixes.
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
0d90541084
Moved from framework to yii
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
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