Qiang Xue
14b782cf01
Added `$user` as the first parameter of `yii\rbac\Rule::execute()`
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
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
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
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
LAV45
c8f016d895
Fix table name on yii\rbac\DbManager::$itemChildTable
11 years ago
Carsten Brandt
cf30268639
typo. fixes #1858
11 years ago
Alexander Kochetov
5c1a2ccbfa
\yii\rbac\DbManager updated
11 years ago
Panagiotis Moustafellos
234feabaac
revokeAll() implementation for DbManager
11 years ago
Serge Bezborodov
1259b0dac6
fix rbac select statement
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
11 years ago
Carsten Brandt
ca69ef09d4
update of @property annotations
11 years ago
Qiang Xue
f03cdf0a47
renamed Command::queryRow() to queryOne().
11 years ago
resurtm
7a7d2a9c06
CS fixes.
11 years ago
Alexander Kochetov
14998f4126
\yii\rbac\DbManager::isAssigned() signature fix
12 years ago
Alexander Kochetov
5730afea92
Removed echo
12 years ago
Alexander Kochetov
e96a012d79
RBAC DbManager fixes
12 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
a24e4d30f6
RBAC: DbManager code style fixes
12 years ago
Alexander Kochetov
70265587fb
RBAC: DbManager code style fixes
12 years ago
Alexander Kochetov
9d3a3b3ebe
DbManager some Db fields renaming
12 years ago
Alexander Kochetov
b9ea7e6fd8
DbManager code style fix + right Exception type fix
12 years ago
Alexander Kochetov
0d90541084
Moved from framework to yii
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
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