22 Commits

Author SHA1 Message Date
5a8c3d537b Enable phpdoc_summary rule in php-cs-fixer config (#14675)
* Enable `phpdoc_summary` rule in php-cs-fixer config.

* Fix case in "PHPDoc".
2017-08-21 11:19:35 +02:00
d4ded67f69 Fixes #14513: Updated phpdoc and added tests for yii\rbac\ManagerInterface::assign and yii\rbac\ManagerInterface::revoke functions (#14528) 2017-07-24 23:20:03 +03:00
bfabb1e2b2 Update ManagerInterface.php 2016-11-13 17:29:36 +01:00
324b38d504 #12976: improved phpdoc wording 2016-11-13 17:15:02 +03:00
4aa935e69e Fixes #12055: Changed boolean to bool and integer to int in phpdoc 2016-11-07 02:51:39 +03:00
32f4dc8997 Fixes #5385: links created from classes to corresponding guide articles (#12920) 2016-11-04 18:55:14 +03:00
35dd698f30 added missing @since annotations 2016-10-20 12:46:02 +02:00
aa4b49a2e6 Fixes #11245: Added yii\rbac\ManagerInterface::getRolesByRole($roleName) method. Implement to DbManager and PhpManager 2016-10-04 14:44:18 +03:00
03e23adab8 Fixes #11679: Extracted CheckAccessInterface from ManagerInterface 2016-06-09 15:15:44 +03:00
7eff23886c Fixes #10726: Added yii\rbac\ManagerInterface::canAddChild() 2016-03-15 22:43:27 +03:00
60086507db Updated phpDoc to ManagerInterface::addChild() 2016-01-09 00:05:10 +03:00
cc4849a3ae Renamed getUserIDsByRole → getUserIdsByRole for consistency
See 0e0079bcae (commitcomment-14953758)
2015-12-14 12:34:00 +03:00
08034bbe10 Add @since [skip ci] 2015-12-14 00:03:46 +01:00
0e0079bcae Fixes #9573: Added yii\rbac\ManagerInterface::getUserIDsByRole() and implementations 2015-12-08 20:00:48 +03:00
c2f83da8d8 Fix phpdoc 2015-10-05 15:00:13 +06:00
8c9a9ed877 Doc block confuse in ManagerInterface
Confisung documentation block for ManagerInterface::getRolesByUser(). The method DOES NOT return roles assigned indirectly.
2015-09-08 10:18:50 +07:00
632dbcf8c4 Updated comments in ManagerInterface
It is necessary that triggered tips of result on viewing variables.

close #8312
2015-05-07 11:37:55 +02:00
220b60f3b2 Fixes #4275: Added removeChildren() to yii\rbac\ManagerInterface and implementations 2014-09-30 02:07:54 +04:00
ed533172d7 Adjusted rbac ManagerInterface 2014-07-25 18:24:54 +04:00
c8a5012610 #4310: Removed $data from signature of yii\rbac\ManagerInterface 2014-07-21 19:50:29 +04:00
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
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