Carsten Brandt
be658f82bf
release version 2.0.12
7 years ago
Carsten Brandt
4b9e48b8dc
improved docs: link term "path alias" to the guide
7 years ago
nanodesu88
67b9a57e86
additional fix for #13501
...
close #13593
7 years ago
Alexander Makarov
fc8ea4831b
Fixes #14108 : fixed phpdoc mistake in method description
8 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 )
...
* 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
Nikolay Oleynikov
323568c2e9
Remove trailing spaces from sources and tests ( #13621 ) [skip ci]
8 years ago
SilverFire - Dmitry Naumenko
1c496532e5
Fixed RBAC migration after bad copy-paste
8 years ago
SilverFire - Dmitry Naumenko
04eb836aa1
Fixed wrong method name in RBAC migration
8 years ago
SilverFire - Dmitry Naumenko
2504ab72f2
Fixed RBAC migraction to work on Oracle
...
Fixes #13513
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
Carsten Brandt
c19b2f7dc8
release version 2.0.11
8 years ago
Alexander Makarov
cc37cd626f
Fixes #12599 : Fixed MSSQL fail to work with `nvarbinary`. Enhanced SQL scripts compatibility with older versions
8 years ago
SilverFire - Dmitry Naumenko
4e32fb1eba
Enhanced PHPDocs
8 years ago
Ni-san
5795b3937e
Added rbac\BaseManager::hasNoAssignments()
8 years ago
Boudewijn Vahrmeijer
bfabb1e2b2
Update ManagerInterface.php
8 years ago
Alexander Makarov
324b38d504
#12976 : improved phpdoc wording
8 years ago
SilverFire - Dmitry Naumenko
23790272dc
Changed `data` column type from `text` to `blob` to handle null-byte (`\0`) in serialized RBAC rule properly
...
Closes #12681
8 years ago
Boudewijn Vahrmeijer
eeeafc91b3
Fixes #7980 : Removed duplicate code in getItem() which is executed anyways in populateItem()
8 years ago
Alexey Rogachev
fb8fd66a08
Fixes #12939 : Hard coded table names for MSSQL in RBAC migration
8 years ago
Robert Korulczyk
4aa935e69e
Fixes #12055 : Changed `boolean` to `bool` and `integer` to `int` in phpdoc
8 years ago
SilverFire - Dmitry Naumenko
8642c3f892
Changed `type` column type from `int` to `smallInt` in RBAC migrations
...
Closes #11929
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
Carsten Brandt
35dd698f30
added missing `@since` annotations
8 years ago
Evgeniy Tkachenko
aa4b49a2e6
Fixes #11245 : Added `yii\rbac\ManagerInterface::getRolesByRole($roleName)` method. Implement to `DbManager` and `PhpManager`
8 years ago
Carsten Brandt
ee92cfa7ba
release version 2.0.9
8 years ago
Alberto Barradas Spezzia
b019d23281
Fix #11896 DROP TRIGGER for migrate/down in RBAC ( #11919 )
8 years ago
cuiliang
c0df003ac0
merge from master
8 years ago
Sam Mousa
03e23adab8
Fixes #11679 : Extracted `CheckAccessInterface` from `ManagerInterface`
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
jonny7
dca4f00030
Update schema-oci.sql ( #11662 )
...
- `if exists` is not a recognized oracle expression. To do something like this it needs to be in a package
- `text` is not a valid data type in oracle, adjusted to VARCHAR()
- `on update` does not exist in Oracle
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
Alexandr
0d81e351f0
Changed new instance creation style
9 years ago
Misbahul D Munir
0e17d652dc
Enhanced RBAC Rule assignment
...
* #11254 Enhanced RBAC Rule assignment
* Enhanced RBAC Rule assignment
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
...
* Bug #11223 : Fixed returning an empty array when DbManager::getRolesByUser() was called on a user with user id 0 (VirtualRJ)
* Added unit tests for #11223
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
Klimov Paul
e4d9ed5182
code style fix
9 years ago
Alexander Makarov
97bc4e0567
Fixed wrong case in method calls
9 years ago
Carsten Brandt
effe3b0b94
phpdoc adjustments
9 years ago
Evgeniy Tkachenko
60086507db
Updated phpDoc to ManagerInterface::addChild()
9 years ago
Alexander Makarov
cc4849a3ae
Renamed getUserIDsByRole → getUserIdsByRole for consistency
...
See 0e0079bcae (commitcomment-14953758)
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