Qiang Xue
07bcc8fda1
Fixes #8595 : Fixed `yii\rbac\DbManager::checkAccessFromCache()` to check against auth items loaded in cache recursively
9 years ago
Evgeniy Tkachenko
632dbcf8c4
Updated comments in ManagerInterface
...
It is necessary that triggered tips of result on viewing variables.
close #8312
10 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
Alexander Makarov
b806fc7108
Corrected fix for #8032
10 years ago
ChristopheBrun
82033125c4
Fixes #8032 : `yii\rbac\PhpManager::updateItem()` was unable to rename item updated
10 years ago
Steven Michaels
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.
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 Makarov
b8cb5e2a28
Fixes #4263 : Added migration and SQL schema files for `yii\log\DbTarget`
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
Nikola Trifunovic
2c02765229
Fixing wrong docs in RBAC PHPManager and wrong paths in security-authorization.md
...
close #5348
10 years ago
Alexander Makarov
220b60f3b2
Fixes #4275 : Added `removeChildren()` to `yii\rbac\ManagerInterface` and implementations
10 years ago
Carsten Brandt
8fa4899e02
use utf8_unicode_ci instead of utf8_general_ci
...
fixes #5119
10 years ago
Alexander Makarov
91f61bfc3b
Fixed phpdoc
10 years ago
Carsten Brandt
f4a9646a22
more on HHVM compatibility
10 years ago
RichWeber
92cd13a913
pull origin
10 years ago
Carsten Brandt
3a1e0f3a5c
property codestyle framework
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
d1ccb92a34
Fixes #4489 : RBAC PhpManager wasn't saving multiple assignmentsFixes #4489 : RBAC PhpManager wasn't saving multiple assignments properly
10 years ago
Alexander Makarov
ed533172d7
Adjusted rbac ManagerInterface
10 years ago
Alexander Makarov
0edd8bc65a
Fixed missing and incorrect phpdoc
10 years ago
ilyaz
5f4801874c
Update schema-mssql.sql
...
MSSQL syntax fix
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
c68e5f1fdb
Adjusted naming
10 years ago
Alexander Makarov
3eee7b8e4b
Fixes #4072 : `\yii\rbac\PhpManager` adjustments
...
- Data is now stored in three separate files for items, assignments and rules. File format is simpler.
- Removed `authFile`. Added `itemsFile`, `assignmentsFile` and `rulesFile`.
- `createdAt` and `updatedAt` are now properly filled with corresponding file modification time.
- `save()` and `load()` are now protected instead of public.
- Added unit test for saving and loading data.
10 years ago
Alexander Makarov
0c14f47f9a
Fixes #3793 : Changed inline autocomplete hints style to get more IDEs support
10 years ago
Qiang Xue
5c84d3fd42
Fixes #3817 : `yii\rbac\PhpManager::getChildren()` returns null instead of expected empty array
10 years ago
Allineer
f22953d092
Small typo in the framework/rbac/PhpManager.php
11 years ago
Klimov Paul
1641e057a9
`VarDumper::export()` applied over framework.
11 years ago
Alexander Makarov
e0b701bb87
Added SQL files for RBAC back
11 years ago
Alexander Makarov
ef4d9683ce
Fixed RBAC migration for SQLite
11 years ago
Alexander Makarov
905e39ede9
RBAC migration is now aware of custom table names, speeded up RBAC tests
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
Carsten Brandt
c27ac8ef0e
updated phpdoc
11 years ago
Qiang Xue
2fb70cf00b
Fixes #3158
11 years ago
Qiang Xue
66842a4806
Fixes test break.
11 years ago
Qiang Xue
14b782cf01
Added `$user` as the first parameter of `yii\rbac\Rule::execute()`
11 years ago
Qiang Xue
ce9a8f209a
Fixes #3132 : `yii\rbac\PhpManager` now supports more compact data file format
11 years ago