66 Commits (dd4b5afb5bed0334d16b0aa7ef877e0474077323)

Author SHA1 Message Date
Boudewijn Vahrmeijer eeeafc91b3 Fixes #7980: Removed duplicate code in getItem() which is executed anyways in populateItem() 8 years ago
Robert Korulczyk 4aa935e69e Fixes #12055: Changed `boolean` to `bool` and `integer` to `int` in phpdoc 8 years ago
Boudewijn Vahrmeijer 32f4dc8997 Fixes #5385: links created from classes to corresponding guide articles (#12920) 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
Alexander Makarov 94dfb97e69 Reverted #11702: Added `yii\rbac\DbManager::$assignmentTablePk` to be able to customize RBAC DB schema more (reverted from commit 532242041c) 8 years ago
Jorge Robles 532242041c Fixes #11702: Added `yii\rbac\DbManager::$assignmentTablePk` to be able to customize RBAC DB schema more 8 years ago
Carsten Brandt 627233715b proper `@since` annotations 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
Carsten Brandt effe3b0b94 phpdoc adjustments 9 years ago
Alexander Makarov cc4849a3ae Renamed getUserIDsByRole → getUserIdsByRole for consistency 9 years ago
Daniel Gomez Pan 08034bbe10 Add @since [skip ci] 9 years ago
Alexander Makarov 0e0079bcae Fixes #9573: Added `yii\rbac\ManagerInterface::getUserIDsByRole()` and implementations 9 years ago
Alexander Makarov 5ab4f0f090 Better quotes usage in strings 9 years ago
Hesam Khaki 5569eaae06 Fixes #9314: Fixed `yii\rbac\DbManager::getPermissionsByUser()` not returning permissions directly assigned to a user 9 years ago
Carsten Brandt aef21ceec8 phpdoc typo 9 years ago
Carsten Brandt 6d9fe671de various code style and whitespace adjustments 9 years ago
Alexander Makarov 8b951796ac Fixes #9263: Avoid extra DB query in RBAC DbManager in case auth item name is empty 9 years ago
Qiang Xue 07bcc8fda1 Fixes #8595: Fixed `yii\rbac\DbManager::checkAccessFromCache()` to check against auth items loaded in cache recursively 9 years ago
Nikola Kovacs f11bdfa2a7 Grammar fix: followings -> following 10 years ago
Alexander Makarov 28dce6c9b6 Fixes #7656: Fixed `yii\rbac\DbManager::getRolesByUser()` and `yii\rbac\PhpManager::getRolesByUser()` to return roles only 10 years ago
Steven Michaels 3cddd3bab4 Include ruleTable in list of customizable tables [ci skip] 10 years ago
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` 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