Commit Graph

14 Commits

Author SHA1 Message Date
Qiang Xue
14b782cf01 Added $user as the first parameter of yii\rbac\Rule::execute() 2014-04-16 21:52:46 -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
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
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
SonicGD
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
Carsten Brandt
ecc066ac34 fixed condition for HHVM test 2014-03-05 02:35:37 +01:00
Carsten Brandt
614ac19c5c exclude test with invalid PHP code from HHVM 2014-02-08 10:50:21 +01:00
Panagiotis Moustafellos
e16fb9596b indentation fix 2013-11-23 18:21:26 +02:00
Panagiotis Moustafellos
820f840ce3 added revokeAll() test 2013-11-23 15:30:15 +02:00
Alexander Makarov
1f6a823073 Short array syntax 2013-10-18 20:52:38 +04:00
Alexander Makarov
7cd9123c3b Tests cleanup
- Better names
- Removed not used MySQLTestCase
- Moved base testcase for DB to db namespace
- Minor style fixes
2013-05-24 18:35:00 +04:00