diff --git a/packages/a770.spec.sql b/packages/a770.spec.sql index 6bc5522..de03097 100644 --- a/packages/a770.spec.sql +++ b/packages/a770.spec.sql @@ -1,15 +1,19 @@ CREATE OR REPLACE PACKAGE a770 AS + -- + -- Authorization roles for this app + -- FUNCTION is_mod_a_user RETURN CHAR; - - - + -- FUNCTION is_administrator RETURN CHAR; + -- + -- Create user (or not) on first login + -- PROCEDURE create_user ( in_user_login users.user_login%TYPE, in_user_id users.user_id%TYPE @@ -17,6 +21,9 @@ CREATE OR REPLACE PACKAGE a770 AS + -- + -- Override ffor app.create_session + -- PROCEDURE create_session ( in_user_login users.user_login%TYPE, in_user_id users.user_id%TYPE @@ -24,6 +31,9 @@ CREATE OR REPLACE PACKAGE a770 AS + -- + -- Override for app.exit_session + -- PROCEDURE exit_session; diff --git a/tables/setting_contexts.sql b/tables/setting_contexts.sql index 02f3c01..fa83f3e 100644 --- a/tables/setting_contexts.sql +++ b/tables/setting_contexts.sql @@ -18,7 +18,7 @@ CREATE TABLE setting_contexts ( ) STORAGE (BUFFER_POOL KEEP); -- -COMMENT ON TABLE setting_contexts IS 'List of setting_contexts shared through whole app'; +COMMENT ON TABLE setting_contexts IS 'List of contexts for settings overrides'; -- COMMENT ON COLUMN setting_contexts.app_id IS 'Application ID'; COMMENT ON COLUMN setting_contexts.context_id IS 'To allow multiple values depending on context value';