From: Dagfinn Ilmari Mannsåker Date: Fri, 19 Feb 2016 00:45:33 +0000 (+0000) Subject: (trv) Grant CREATE VIEW to Oracle test user X-Git-Tag: 0.07046~9 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5be6067c51878e5b737a6175922cd33e85bc3684;p=dbsrgits%2FDBIx-Class-Schema-Loader.git (trv) Grant CREATE VIEW to Oracle test user Unlike CREATE TABLE, it's not included in the 'resource' system role. --- diff --git a/maint/travis-ci_scripts/10_before_install.bash b/maint/travis-ci_scripts/10_before_install.bash index c4cfbb2..d254337 100755 --- a/maint/travis-ci_scripts/10_before_install.bash +++ b/maint/travis-ci_scripts/10_before_install.bash @@ -214,7 +214,7 @@ FileUsage = 1 run_or_err "Create Oracle users" "ORACLE_SID=XE ORACLE_HOME=$SRV_ORA_HOME $SRV_ORA_HOME/bin/sqlplus -L -S system/adminpass @/dev/stdin <<< ' CREATE USER $DBICTEST_ORA_USER IDENTIFIED BY $DBICTEST_ORA_PASS; - GRANT connect,resource TO $DBICTEST_ORA_USER; + GRANT create view,connect,resource TO $DBICTEST_ORA_USER; CREATE USER $DBICTEST_ORA_EXTRAUSER_USER IDENTIFIED BY $DBICTEST_ORA_EXTRAUSER_PASS; GRANT connect,resource TO $DBICTEST_ORA_EXTRAUSER_USER; '"