f11bdfa2a7
Grammar fix: followings -> following
2015-04-21 15:08:16 +02:00
28dce6c9b6
Fixes #7656 : Fixed yii\rbac\DbManager::getRolesByUser()
and yii\rbac\PhpManager::getRolesByUser()
to return roles only
2015-04-21 00:29:04 +03:00
3cddd3bab4
Include ruleTable in list of customizable tables [ci skip]
...
With the addition of ruleTable in 2.0, including it in the list of customizable tables in the class-level doc makes it easier to spot the difference from 1.1.
2015-03-29 10:14:37 -05:00
6e33bef238
Fixes #7266
2015-02-13 14:02:54 -05:00
d188dd10c0
Fixes #3168 : Improved the performance of yii\rbac\DbManager::checkAccess()
by caching mechanism
2015-02-12 21:29:00 -05:00
6481d13494
Optimized checks order in conditions
2015-02-08 17:56:36 +03:00
d341bf02b4
Fixes #6398 : Added support for specifying dependent component in terms of a configuration array for classes such as DbCache
2015-01-04 19:28:05 -05:00
402d58cfd8
Fixes #6081 : yii\rbac\DbManager::getChildren()
was not quoting column name properly
2014-11-27 00:28:55 +03:00
280dd1651d
Fixes #6172 : yii\rbac\DbManager
should properly quote table and column names
2014-11-22 18:25:02 -05:00
bb8550886e
PHP type casting
2014-10-25 15:30:03 +03:00
999e8b84d4
Fixes #5584 : yii\rbac\DbRbacManager
should not delete items when deleting a rule on a database not supporting cascade update
2014-10-16 08:13:31 -04:00
f524e57076
use 'ON DELETE SET NULL' instead of 'ON DELETE CASCADE'
2014-10-16 08:11:07 -04:00
b66c4cf42d
Fixes #5435 : Added extra checks to yii\rbac\DbManager
to prevent database exceptions when $userId
is empty
2014-10-10 19:24:59 +04:00
220b60f3b2
Fixes #4275 : Added removeChildren()
to yii\rbac\ManagerInterface
and implementations
2014-09-30 02:07:54 +04:00
2fc8cb4523
Fixes #4489 : Fixed MySQL RBAC manager
2014-07-29 11:10:31 +04:00
74c99dc959
code style + test groups
2014-07-29 01:52:34 +02: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
21910c61f9
Fixes #4310 : code cleanup
2014-07-17 19:25:04 +04:00
d4711c4698
Fixes #4310
2014-07-14 22:21:04 +04:00
e0b701bb87
Added SQL files for RBAC back
2014-05-07 20:49:03 +04:00
12732cfa53
Fixed rbac tests to use migration
2014-05-06 21:02:35 +04:00
42c566935e
Fixes #2913 : RBAC DbManager
is now initialized via migration
2014-05-06 14:59:40 +04:00
2fb70cf00b
Fixes #3158
2014-04-17 20:59:44 -04:00
14b782cf01
Added $user
as the first parameter of yii\rbac\Rule::execute()
2014-04-16 21:52:46 -04:00
8ac8d487ad
Fixes #3128 : Fixed the bug that defaultRoles
set in RBAC manager was not working as specified
2014-04-16 08:52:41 -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
3fdcf11f24
updated phpdoc
2014-04-09 18:51:45 +02:00
e59b2d8948
refactored rule execution. [skip ci]
2014-04-08 08:40:37 -04:00
c8d1709912
Fixes #3016 .
2014-04-07 14:02:31 -04:00
40eb116640
Splitted saveRule into insertRule and updateRule
2014-04-04 23:09:34 +04:00
7d3cf501d0
Fixed code formattins issues
2014-04-04 20:17:13 +04:00
2c28198cd2
Fixes #499 : Decoupled Rule
from RBAC Item
2014-04-04 20:13:26 +04:00
0e6cbda43e
RBAC: decoupled rules from assignments and items, implemented php manager
2014-04-04 04:40:06 +04:00
ab799d8ea9
Fixes #2911 : Removed tbl_
default for table prefix
2014-03-30 19:33:46 +04:00
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
2014-03-23 20:51:09 +01:00
8e11ad0360
refactored code to use Instance::ensure()
2014-03-18 12:31:27 -04:00
8c2e39235f
Turn module and application into DI containers.
2014-03-17 23:57:01 -04:00
b5f8a4dc22
Reformat code te be PSR-2 compatible
2014-03-16 10:46:21 +06:00
262189533a
huge amount of documentation link fixes
2014-01-28 17:54:40 +01:00
75ee05b90e
more null fixes.
2014-01-19 12:23:32 -05:00
7d33a5d3b5
Some Code style fixes
2014-01-19 13:35:36 -03:00
ab5d7bd54c
Fixes #2051 : Do not save null data into database when using RBAC
2014-01-19 00:22:07 -05:00
0c38655217
psr-4 move
2014-01-10 21:41:43 -05:00