Qiang Xue
6e33bef238
Fixes #7266
10 years ago
Qiang Xue
d188dd10c0
Fixes #3168 : Improved the performance of `yii\rbac\DbManager::checkAccess()` by caching mechanism
10 years ago
Alexander Makarov
6481d13494
Optimized checks order in conditions
10 years ago
Qiang Xue
d341bf02b4
Fixes #6398 : Added support for specifying dependent component in terms of a configuration array for classes such as `DbCache`
10 years ago
wenbin1989
402d58cfd8
Fixes #6081 : `yii\rbac\DbManager::getChildren()` was not quoting column name properly
10 years ago
Qiang Xue
280dd1651d
Fixes #6172 : `yii\rbac\DbManager` should properly quote table and column names
10 years ago
Alexander Mohorev
bb8550886e
PHP type casting
10 years ago
Qiang Xue
999e8b84d4
Fixes #5584 : `yii\rbac\DbRbacManager` should not delete items when deleting a rule on a database not supporting cascade update
10 years ago
mdmunir
f524e57076
use 'ON DELETE SET NULL' instead of 'ON DELETE CASCADE'
10 years ago
Alexander Makarov
b66c4cf42d
Fixes #5435 : Added extra checks to `yii\rbac\DbManager` to prevent database exceptions when `$userId` is empty
10 years ago
Alexander Makarov
220b60f3b2
Fixes #4275 : Added `removeChildren()` to `yii\rbac\ManagerInterface` and implementations
10 years ago
RichWeber
92cd13a913
pull origin
10 years ago
Alexander Makarov
2fc8cb4523
Fixes #4489 : Fixed MySQL RBAC manager
10 years ago
Carsten Brandt
74c99dc959
code style + test groups
10 years ago
Alexander Makarov
ed533172d7
Adjusted rbac ManagerInterface
10 years ago
Alexander Makarov
c8a5012610
#4310 : Removed `$data` from signature of `yii\rbac\ManagerInterface`
10 years ago
Alexander Makarov
21910c61f9
Fixes #4310 : code cleanup
10 years ago
Alexander Makarov
d4711c4698
Fixes #4310
10 years ago
Alexander Makarov
e0b701bb87
Added SQL files for RBAC back
11 years ago
Alexander Makarov
12732cfa53
Fixed rbac tests to use migration
11 years ago
Alexander Makarov
42c566935e
Fixes #2913 : RBAC `DbManager` is now initialized via migration
11 years ago
Qiang Xue
2fb70cf00b
Fixes #3158
11 years ago
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