albertborsos / yii2-oracle-dbmanager
overrided \yii\rbac\DbManager for Oracle
Installs: 101
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 4
Open Issues: 0
Type:yii2-component
This package is auto-updated.
Last update: 2024-11-08 07:26:03 UTC
README
Warning: Yii2 is in beta version
I can not guarantee that this package is up-to-date to Yii2 beta framework.
Description
Oracle required that a table column name to be uppercase. I updated the original \yii\rbac\DbManager class's every attributes name, and included the missing classes because of the new namespace.
- schema with uppercase letters and Oracle specific syntax for generating the required tables
Installation
1.) Download via packagist
by adding the following line to your composer.json
"require": {
"albertborsos/yii2-oracle-dbmanager": "*"
},
2.) Add or update the following component to your config file:
'components' => [
...
'authManager' => [
'class' => 'vendor\albertborsos\yii2oracledbmanager\DbManager',
'itemTable' => 'TBL_AUTH_ITEM',
'itemChildTable' => 'TBL_AUTH_ITEM_CHILD',
'assignmentTable' => 'TBL_AUTH_ASSIGNMENT',
'ruleTable' => 'TBL_AUTH_RULE',
],
...
],
3.) Create the tables by the schema-oracle.sql
script