Emmanuel BENOîT
e7d2072813
* Fixed privileges on both variants of defs.uoc_natural_resource() * Added user unit tests which check execution privileges on all (new) stored procedures and INSERT/UPDATE/SELECT/DELETE privileges on all (new) tables
11 lines
No EOL
294 B
PL/PgSQL
11 lines
No EOL
294 B
PL/PgSQL
/*
|
|
* Test privileges on sys.process_planet_res_regen_updates()
|
|
*/
|
|
BEGIN;
|
|
SELECT plan( 1 );
|
|
|
|
SELECT diag_test_name( 'sys.process_planet_res_regen_updates() - Privileges' );
|
|
SELECT throws_ok( 'SELECT sys.process_planet_res_regen_updates( 1 )' , 42501 );
|
|
|
|
SELECT * FROM finish( );
|
|
ROLLBACK; |