Carsten Brandt
4b9e48b8dc
improved docs: link term "path alias" to the guide
7 years ago
Alexander Makarov
375ea7a847
Fixes #13951 : renamed get-method which was conflicting with existing property ( #14055 )
8 years ago
Vladimir Reznichenko
a182ce57fc
Fixes for issues found with Static Code Analysis with Php Inspections (EA Extended) ( #13606 )
...
* Php Inspections (EA Extended): language level migration fixes
* Php Inspections (EA Extended): instanceof a trait always return false
* Php Inspections (EA Extended): fixed preg_quote (/ is not escaped by default)
* Php Inspections (EA Extended): fixed a greedy regex
* Php Inspections (EA Extended): refereted instanceof self in a trait
* Php Inspections (EA Extended): revert language level changes in requirements checker
* Php Inspections (EA Extended): revert language level changes in requirements checker
* Php Inspections (EA Extended): more greedy regexes fixed
8 years ago
Elvira Sheina
3a4505ac08
Fixes #11230 : Include `defaultRoles` in `yii\rbac\DbManager->getRolesByUser()` results
8 years ago
Ni-san
5795b3937e
Added rbac\BaseManager::hasNoAssignments()
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
cuiliang
c0df003ac0
merge from master
8 years ago
Klimov Paul
c9fa71e5ca
added missing `@since` tag
8 years ago
Klimov Paul
b7b8348c73
`yii\rbac\PhpManager` now invalidates script file cache performed by 'OPCache' or 'APC' on file saving
8 years ago
Carsten Brandt
627233715b
proper `@since` annotations
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
...
See 0e0079bcae (commitcomment-14953758)
9 years ago
Alexander Makarov
0e0079bcae
Fixes #9573 : Added `yii\rbac\ManagerInterface::getUserIDsByRole()` and implementations
9 years ago
rezident1307
be407391ce
Fixes #10101 : Fixed assignments saving on role removing in `\yii\rbac\PhpManager`
9 years ago
Alexander Makarov
1b3770fd21
Use === instead of == where possible
9 years ago
Alexander Makarov
5ab4f0f090
Better quotes usage in strings
...
- Use single quote where interpolation isn't necessary
- Use interpolation when it's better than concatenation
9 years ago
Yuri Nazarenko
0d4d54c3c7
Bug #9714 : Fixed unable to save users assignments
9 years ago
Hesam Khaki
5569eaae06
Fixes #9314 : Fixed `yii\rbac\DbManager::getPermissionsByUser()` not returning permissions directly assigned to a user
9 years ago
╃巡洋艦㊣
586684b050
2.0.5 bf7edc5
9 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
╃巡洋艦㊣
1468bd4d3d
version 2.0.1 84b42ab
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
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
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
c8a5012610
#4310 : Removed `$data` from signature of `yii\rbac\ManagerInterface`
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
Carsten Brandt
c27ac8ef0e
updated phpdoc
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
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`
...
Replaced `clearAll()` and `clearAllAssignments()` in `yii\rbac\ManagerInterface` with `removeAll()`, `removeAllRoles()`, `removeAllPermissions()`, `removeAllRules()` and `removeAllAssignments()`
11 years ago
tof06
22596ca248
Implement new 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