83 Commits (b9fc1f3ca69624e640ceac5eca2aa135617c01c0)

Author SHA1 Message Date
Klimov Paul 65f6b59b35 `@inheritdoc` notation changed 7 years ago
Carsten Brandt 711498f93a Cache user assignments to avoid unnecessary DB queries (#14696) 7 years ago
Robert Korulczyk 5a8c3d537b Enable `phpdoc_summary` rule in php-cs-fixer config (#14675) 7 years ago
Robert Korulczyk 1501c659ac Add empty lines before return statements. (#14682) [skip ci] 7 years ago
Dmitry Dorogin 1ee29c630d Fixes #14493: Fixed getting permissions in `yii\rbac\Dbmanger::getPermissionsByUser` by user with id equals 0 7 years ago
Robert Korulczyk fe8a0a6a2e Enable `no_useless_else` rule in php-cs-fixer (#14420) 7 years ago
Carsten Brandt 93f88bb7db mention defaultRoles in getRolesByUser() docs 7 years ago
Robert Korulczyk ba0ab403b5 Added php-cs-fixer coding standards validation to Travis CI (#14100) 7 years ago
SilverFire - Dmitry Naumenko cb53b2feec
Fixes #14081: Added `yii\caching\CacheInterface` to make custom cache extensions adoption easier 7 years ago
nanodesu88 67b9a57e86
additional fix for #13501 7 years ago
Alexander Makarov fc8ea4831b Fixes #14108: fixed phpdoc mistake in method description 7 years ago
Alexander Makarov 375ea7a847 Fixes #13951: renamed get-method which was conflicting with existing property (#14055) 8 years ago
Vladimir Guts d2fb17f444 Fixes #13961: RBAC Rules: PostgreSQL: PHP Warning "unserialize() expects parameter 1 to be string, resource given" was fixed 8 years ago
Vladimir Reznichenko a182ce57fc Fixes for issues found with Static Code Analysis with Php Inspections (EA Extended) (#13606) 8 years ago
Elvira Sheina 3a4505ac08 Fixes #11230: Include `defaultRoles` in `yii\rbac\DbManager->getRolesByUser()` results 8 years ago
Alexander 97c43c2480 Fixes #13501: Fixed `yii\rbac\DbManager::getRule()` and `yii\rbac\DbManager::getRules()` to properly handle resource data came from Rule table when using PostgreSQL 8 years ago
Ni-san 5795b3937e
Added rbac\BaseManager::hasNoAssignments() 8 years ago
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