Commit Graph

38 Commits

Author SHA1 Message Date
Allineer
f22953d092 Small typo in the framework/rbac/PhpManager.php 2014-05-21 11:42:40 +04:00
Klimov Paul
1641e057a9 VarDumper::export() applied over framework. 2014-05-20 16:35:12 +03:00
Alexander Makarov
e0b701bb87 Added SQL files for RBAC back 2014-05-07 20:49:03 +04:00
Alexander Makarov
ef4d9683ce Fixed RBAC migration for SQLite 2014-05-07 00:52:56 +04:00
Alexander Makarov
905e39ede9 RBAC migration is now aware of custom table names, speeded up RBAC tests 2014-05-07 00:19:33 +04:00
Alexander Makarov
12732cfa53 Fixed rbac tests to use migration 2014-05-06 21:02:35 +04:00
Alexander Makarov
42c566935e Fixes #2913: RBAC DbManager is now initialized via migration 2014-05-06 14:59:40 +04:00
Carsten Brandt
c27ac8ef0e updated phpdoc 2014-04-26 03:39:46 +02:00
Qiang Xue
2fb70cf00b Fixes #3158 2014-04-17 20:59:44 -04:00
Qiang Xue
66842a4806 Fixes test break. 2014-04-16 22:05:20 -04:00
Qiang Xue
14b782cf01 Added $user as the first parameter of yii\rbac\Rule::execute() 2014-04-16 21:52:46 -04:00
Qiang Xue
ce9a8f209a Fixes #3132: yii\rbac\PhpManager now supports more compact data file format 2014-04-16 10:17:28 -04:00
Qiang Xue
8ac8d487ad Fixes #3128: Fixed the bug that defaultRoles set in RBAC manager was not working as specified 2014-04-16 08:52:41 -04:00
Qiang Xue
c3f4e0057d Refactored yii\rbac\PhpManager
Replaced `clearAll()` and `clearAllAssignments()` in `yii\rbac\ManagerInterface` with `removeAll()`, `removeAllRoles()`, `removeAllPermissions()`, `removeAllRules()` and `removeAllAssignments()`
2014-04-15 16:45:29 -04:00
tof06
22596ca248 Implement new RBAC PhpManager 2014-04-15 16:10:04 +02:00
Qiang Xue
7bc52f32a4 Re-implemented RBAC by following more closely to the original NIST RBAC model. Dropped yii\rbac\PhpManager. 2014-04-12 16:55:50 -04:00
Qiang Xue
0b29c9607d fixed broken API links [skip ci] 2014-04-09 22:22:49 -04:00
Carsten Brandt
3fdcf11f24 updated phpdoc 2014-04-09 18:51:45 +02:00
Qiang Xue
e59b2d8948 refactored rule execution. [skip ci] 2014-04-08 08:40:37 -04:00
Qiang Xue
a404e00b02 simplified rule execution [skip ci] 2014-04-08 08:38:34 -04:00
Qiang Xue
f46b51eaf4 Better executeRule implementation. 2014-04-07 19:59:48 -04:00
Qiang Xue
c8d1709912 Fixes #3016. 2014-04-07 14:02:31 -04:00
Alexander Makarov
40eb116640 Splitted saveRule into insertRule and updateRule 2014-04-04 23:09:34 +04:00
Alexander Makarov
f3dd74ff97 Removed custom Rule constructor 2014-04-04 22:43:11 +04:00
Alexander Makarov
7d3cf501d0 Fixed code formattins issues 2014-04-04 20:17:13 +04:00
Alexander Makarov
2c28198cd2 Fixes #499: Decoupled Rule from RBAC Item 2014-04-04 20:13:26 +04:00
Alexander Makarov
0e6cbda43e RBAC: decoupled rules from assignments and items, implemented php manager 2014-04-04 04:40:06 +04:00
Alexander Makarov
ab799d8ea9 Fixes #2911: Removed tbl_ default for table prefix 2014-03-30 19:33:46 +04:00
Carsten Brandt
435747cf98 apidoc and codestyle fixes 2014-03-26 23:03:18 +01:00
Carsten Brandt
bf3c75147d reverted breaking PHPdoc codestyle changes
issue #2852
2014-03-23 20:51:09 +01:00
Qiang Xue
8e11ad0360 refactored code to use Instance::ensure() 2014-03-18 12:31:27 -04:00
Qiang Xue
8c2e39235f Turn module and application into DI containers. 2014-03-17 23:57:01 -04:00
SonicGD
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
Carsten Brandt
262189533a huge amount of documentation link fixes 2014-01-28 17:54:40 +01:00
Qiang Xue
75ee05b90e more null fixes. 2014-01-19 12:23:32 -05:00
Luciano Baraglia
7d33a5d3b5 Some Code style fixes 2014-01-19 13:35:36 -03:00
Qiang Xue
ab5d7bd54c Fixes #2051: Do not save null data into database when using RBAC 2014-01-19 00:22:07 -05:00
Qiang Xue
0c38655217 psr-4 move 2014-01-10 21:41:43 -05:00