13 Commits (7db178d8bb734bc008c6afce93abaa4385652ac8)

Author SHA1 Message Date
Ni-san 5795b3937e
Added rbac\BaseManager::hasNoAssignments() 8 years ago
SilverFire - Dmitry Naumenko a9124dd8c2 Added unit tests for rules with private fields 8 years ago
Pavel Dovlatov 73a30780b3 Fixes #12810: getChildRoles() throws an exception when role has no children 8 years ago
Evgeniy Tkachenko aa4b49a2e6 Fixes #11245: Added `yii\rbac\ManagerInterface::getRolesByRole($roleName)` method. Implement to `DbManager` and `PhpManager` 8 years ago
Misbahul D Munir 0e17d652dc Enhanced RBAC Rule assignment 9 years ago
Robbert Jan van de Velde d438c03dbc Bug #11223: Fixed returning an empty array when DbManager::getRolesByUser() was called on a user with user id 0 9 years ago
LAV45 049ea37f77 Fixes #10993: Fixed `yii\rbac\DbManager::removeAllRules()` and `yii\rbac\PhpManager::removeAllItems()` 9 years ago
Dmitry Khlystov 7eff23886c Fixes #10726: Added `yii\rbac\ManagerInterface::canAddChild()` 9 years ago
Alexander Makarov cc4849a3ae Renamed getUserIDsByRole → getUserIdsByRole for consistency 9 years ago
Alexander Makarov 0e0079bcae Fixes #9573: Added `yii\rbac\ManagerInterface::getUserIDsByRole()` and implementations 9 years ago
Hesam Khaki 5569eaae06 Fixes #9314: Fixed `yii\rbac\DbManager::getPermissionsByUser()` not returning permissions directly assigned to a user 9 years ago
Alexander Makarov 28dce6c9b6 Fixes #7656: Fixed `yii\rbac\DbManager::getRolesByUser()` and `yii\rbac\PhpManager::getRolesByUser()` to return roles only 10 years ago
Alexander Makarov 6949992246 Simplified tests directory structure a bit 10 years ago
RichWeber 92cd13a913 pull origin 10 years ago
Alexander Makarov c6569b1abe Removed unnecessary code 10 years ago
Carsten Brandt 9e62d5589a added unit test for #4489 10 years ago
Alexander Makarov d1ccb92a34 Fixes #4489: RBAC PhpManager wasn't saving multiple assignmentsFixes #4489: RBAC PhpManager wasn't saving multiple assignments properly 10 years ago
Alexander Makarov 3eee7b8e4b Fixes #4072: `\yii\rbac\PhpManager` adjustments 10 years ago
Carsten Brandt 1a7b4c5383 added testcase of @UncleCoder 10 years ago
Qiang Xue 14b782cf01 Added `$user` as the first parameter of `yii\rbac\Rule::execute()` 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
Alexander Makarov 40eb116640 Splitted saveRule into insertRule and updateRule 11 years ago
Alexander Makarov f3dd74ff97 Removed custom Rule constructor 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
SonicGD b5f8a4dc22 Reformat code te be PSR-2 compatible 11 years ago
Carsten Brandt ecc066ac34 fixed condition for HHVM test 11 years ago
Carsten Brandt 614ac19c5c exclude test with invalid PHP code from HHVM 11 years ago
Panagiotis Moustafellos e16fb9596b indentation fix 11 years ago
Panagiotis Moustafellos 820f840ce3 added revokeAll() test 11 years ago
Alexander Makarov 1f6a823073 Short array syntax 11 years ago
Alexander Makarov 7cd9123c3b Tests cleanup 12 years ago
Klimov Paul d4b896f65c "ManagerTestBase::testExecuteBizRule()" has been fixed to not produce side effects on other tests. 12 years ago
Carsten Brandt 285a45520c fixed auth manager unit test to not expect generic exception 12 years ago
resurtm ea68bd3a55 CS fixes. 12 years ago
Alexander Kochetov af3f5af3be RBAC: Item and Assignment optimized save approach 12 years ago
Alexander Kochetov bea449f8a0 Unit tests 12 years ago