2017 © Pedro Peláez
 

yii2-component yii2dbmanageroracle

overrided \yii\rbac\DbManager for Oracle

image

albertborsos/yii2dbmanageroracle

overrided \yii\rbac\DbManager for Oracle

  • Wednesday, October 8, 2014
  • by albertborsos
  • Repository
  • 1 Watchers
  • 0 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Yii2 DbManager class for Oracle databases

Warning: Yii2 is in beta version

I can not guarantee that this package is up-to-date to Yii2 beta framework., (*1)

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., (*2)

  • 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, (*3)

    "require": {
        "albertborsos/yii2-oracle-dbmanager": "*"
    },

2.) Add or update the following component to your config file:, (*4)

'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, (*5)

The Versions

08/10 2014

dev-master

9999999-dev

overrided \yii\rbac\DbManager for Oracle

  Sources   Download

yii2 dbmanager authmanager