Merge pull request #2174 from Jennydmz/BUG-13425
BUG-13425 Cambiar el tamanio del campo PASSWORD, tabla AUTHENTICATION_SOURCE en la bd RBAC.
This commit is contained in:
@@ -108,7 +108,7 @@
|
|||||||
<column name="SYS_UPDATE_DATE" type="TIMESTAMP" />
|
<column name="SYS_UPDATE_DATE" type="TIMESTAMP" />
|
||||||
<column name="SYS_STATUS" type="INTEGER" required="true" default="0" />
|
<column name="SYS_STATUS" type="INTEGER" required="true" default="0" />
|
||||||
</table>
|
</table>
|
||||||
<table name="RBAC_USERS">
|
<table name="USERS">
|
||||||
<vendor type="mysql">
|
<vendor type="mysql">
|
||||||
<parameter name="Name" value="USERS"/>
|
<parameter name="Name" value="USERS"/>
|
||||||
<parameter name="Engine" value="MyISAM"/>
|
<parameter name="Engine" value="MyISAM"/>
|
||||||
|
|||||||
@@ -345,12 +345,12 @@ class workspaceTools
|
|||||||
*/
|
*/
|
||||||
private function getDatabase($rbac = false)
|
private function getDatabase($rbac = false)
|
||||||
{
|
{
|
||||||
if (isset($this->db) && $this->db->isConnected()) {
|
if (isset($this->db) && $this->db->isConnected() && $rbac == false) {
|
||||||
return $this->db;
|
return $this->db;
|
||||||
}
|
}
|
||||||
|
|
||||||
G::LoadSystem('database_' . strtolower($this->dbAdapter));
|
G::LoadSystem('database_' . strtolower($this->dbAdapter));
|
||||||
if ($rbac = true){
|
if ($rbac == true){
|
||||||
$this->db = new database($this->dbAdapter, $this->dbRbacHost, $this->dbRbacUser, $this->dbRbacPass, $this->dbRbacName);
|
$this->db = new database($this->dbAdapter, $this->dbRbacHost, $this->dbRbacUser, $this->dbRbacPass, $this->dbRbacName);
|
||||||
} else {
|
} else {
|
||||||
$this->db = new database($this->dbAdapter, $this->dbHost, $this->dbUser, $this->dbPass, $this->dbName);
|
$this->db = new database($this->dbAdapter, $this->dbHost, $this->dbUser, $this->dbPass, $this->dbName);
|
||||||
@@ -390,7 +390,7 @@ class workspaceTools
|
|||||||
*/
|
*/
|
||||||
public function getSchema($rbac = false)
|
public function getSchema($rbac = false)
|
||||||
{
|
{
|
||||||
$oDataBase = $this->getDatabase($rbac);
|
$oDataBase = $this->getDatabase($rbac);
|
||||||
|
|
||||||
$aOldSchema = array();
|
$aOldSchema = array();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user