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
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
Qiang Xue
0b29c9607d
fixed broken API links [skip ci]
11 years ago
Carsten Brandt
3fdcf11f24
updated phpdoc
11 years ago
Qiang Xue
e59b2d8948
refactored rule execution. [skip ci]
11 years ago
Qiang Xue
a404e00b02
simplified rule execution [skip ci]
11 years ago
Qiang Xue
f46b51eaf4
Better executeRule implementation.
11 years ago
Qiang Xue
c8d1709912
Fixes #3016 .
11 years ago
Alexander Makarov
40eb116640
Splitted saveRule into insertRule and updateRule
11 years ago
Alexander Makarov
f3dd74ff97
Removed custom Rule constructor
11 years ago
Alexander Makarov
7d3cf501d0
Fixed code formattins issues
11 years ago
Alexander Makarov
2c28198cd2
Fixes #499 : Decoupled `Rule` from RBAC `Item`
11 years ago
Alexander Makarov
0e6cbda43e
RBAC: decoupled rules from assignments and items, implemented php manager
11 years ago
Alexander Makarov
ab799d8ea9
Fixes #2911 : Removed `tbl_` default for table prefix
11 years ago
Carsten Brandt
435747cf98
apidoc and codestyle fixes
11 years ago
Carsten Brandt
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
11 years ago
Qiang Xue
8e11ad0360
refactored code to use Instance::ensure()
11 years ago
Qiang Xue
8c2e39235f
Turn module and application into DI containers.
11 years ago
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
11 years ago