Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Error querying suites info when installed without public synonyms #957
Using 3.1.7, but I don't believe this is a new issue.
I've followed the install guide to install privately into a schema, UT3, and I've allowed access to another schema, UT_USER. My installation process is...
@create_utplsql_owner.sql ut3 ut3 users @install.sql ut3 CREATE USER ut_user IDENTIFIED BY ut_user; GRANT "CONNECT" TO ut_user; GRANT "RESOURCE" TO ut_user; ALTER USER ut_user DEFAULT ROLE "CONNECT", "RESOURCE"; @create_user_grants.sql ut3 ut_user; @create_user_synonyms.sql ut3 ut_user;
When connected as UT_USER I can run suites OK, but I cannot query for them using get_suites_info.
SELECT t.* FROM TABLE ( ut_runner.get_suites_info (a_owner => user, a_package_name => null)) t
Thanks for reporting this issue @michaelstaszewski
grant select on &&ut3_owner..ut_suite_cache to &ut3_user; grant select on &&ut3_owner..ut_suite_cache_package to &ut3_user; grant select on &&ut3_owner..ut_suite_cache_schema to &ut3_user;
I'm currently working on improving utPLSQL security and privileges model so it's possible that those grants will go away totally in next release.