From 512763208644d2cbb70da9bfdd2c24dd245b345e Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Fri, 13 Sep 2013 10:22:37 +0800 Subject: [PATCH] IDEMPIERE-1064 Control dashboard access by role. Fixed migration script error. --- migration/i1.0z/oracle/201309121040_IDEMPIERE-1064.sql | 5 ----- migration/i1.0z/postgresql/201309121040_IDEMPIERE-1064.sql | 5 ----- 2 files changed, 10 deletions(-) diff --git a/migration/i1.0z/oracle/201309121040_IDEMPIERE-1064.sql b/migration/i1.0z/oracle/201309121040_IDEMPIERE-1064.sql index 76304b7cb0..3b38317931 100644 --- a/migration/i1.0z/oracle/201309121040_IDEMPIERE-1064.sql +++ b/migration/i1.0z/oracle/201309121040_IDEMPIERE-1064.sql @@ -144,11 +144,6 @@ UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2013-09-02 15:20:56','YYYY- UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2013-09-02 15:21:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=210859 ; --- Sep 2, 2013 3:21:24 PM COT --- IDEMPIERE-1064 Control dashboard access by role -CREATE TABLE PA_DashboardContent_Access (AD_Client_ID NUMBER(10) DEFAULT NULL , AD_Org_ID NUMBER(10) DEFAULT NULL , AD_Role_ID NUMBER(10) DEFAULT NULL , AD_User_ID NUMBER(10) DEFAULT NULL , Created DATE DEFAULT NULL , CreatedBy NUMBER(10) DEFAULT NULL , IsActive CHAR(1) DEFAULT 'Y' CHECK (IsActive IN ('Y','N')), PA_DashboardContent_Access_ID NUMBER(10) NOT NULL, PA_DashboardContent_Access_UU NVARCHAR2(36) DEFAULT NULL , PA_DashboardContent_ID NUMBER(10) DEFAULT NULL , Updated DATE DEFAULT NULL , UpdatedBy NUMBER(10) DEFAULT NULL , CONSTRAINT PA_DashboardContent_Access_Key PRIMARY KEY (PA_DashboardContent_Access_ID), CONSTRAINT PA_DashboardContent_Access_Key PRIMARY KEY (PA_DashboardContent_Access_UU)) -; - -- Sep 2, 2013 3:22:31 PM COT -- IDEMPIERE-1064 Control dashboard access by role UPDATE AD_Column SET IsKey='N',Updated=TO_DATE('2013-09-02 15:22:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=210852 diff --git a/migration/i1.0z/postgresql/201309121040_IDEMPIERE-1064.sql b/migration/i1.0z/postgresql/201309121040_IDEMPIERE-1064.sql index d88b9914ed..f06a1e4c31 100644 --- a/migration/i1.0z/postgresql/201309121040_IDEMPIERE-1064.sql +++ b/migration/i1.0z/postgresql/201309121040_IDEMPIERE-1064.sql @@ -141,11 +141,6 @@ UPDATE AD_Column SET EntityType='D',Updated=TO_TIMESTAMP('2013-09-02 15:20:56',' UPDATE AD_Column SET EntityType='D',Updated=TO_TIMESTAMP('2013-09-02 15:21:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=210859 ; --- Sep 2, 2013 3:21:24 PM COT --- IDEMPIERE-1064 Control dashboard access by role -CREATE TABLE PA_DashboardContent_Access (AD_Client_ID NUMERIC(10) DEFAULT NULL , AD_Org_ID NUMERIC(10) DEFAULT NULL , AD_Role_ID NUMERIC(10) DEFAULT NULL , AD_User_ID NUMERIC(10) DEFAULT NULL , Created TIMESTAMP DEFAULT NULL , CreatedBy NUMERIC(10) DEFAULT NULL , IsActive CHAR(1) DEFAULT 'Y' CHECK (IsActive IN ('Y','N')), PA_DashboardContent_Access_ID NUMERIC(10) NOT NULL, PA_DashboardContent_Access_UU VARCHAR(36) DEFAULT NULL , PA_DashboardContent_ID NUMERIC(10) DEFAULT NULL , Updated TIMESTAMP DEFAULT NULL , UpdatedBy NUMERIC(10) DEFAULT NULL , CONSTRAINT PA_DashboardContent_Access_Key PRIMARY KEY (PA_DashboardContent_Access_ID), CONSTRAINT PA_DashboardContent_Access_Key PRIMARY KEY (PA_DashboardContent_Access_UU)) -; - -- Sep 2, 2013 3:22:31 PM COT -- IDEMPIERE-1064 Control dashboard access by role UPDATE AD_Column SET IsKey='N',Updated=TO_TIMESTAMP('2013-09-02 15:22:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=210852