SPOOL create_api_users.lst

CREATE ROLE eft_omt_ro
/

CREATE ROLE eft_puw_ro
/

CREATE ROLE eft_api_ro
/

GRANT select ON network_points_v           TO eft_api_ro;
GRANT select ON categories_v               TO eft_api_ro;
GRANT select ON parameters_v               TO eft_api_ro;
GRANT select ON customers_v                TO eft_api_ro;
GRANT select ON contracts_v                TO eft_api_ro;
GRANT select ON cont_network_points_v      TO eft_api_ro;
GRANT select ON contract_categories_v      TO eft_api_ro;
GRANT select ON contract_parameters_v      TO eft_api_ro;
GRANT select ON nominations_v              TO eft_api_ro;
GRANT select ON nom_net_point_cat_vals_v   TO eft_api_ro;
GRANT select ON confirmations_v            TO eft_api_ro;
GRANT select ON conf_net_point_cat_vals_v  TO eft_api_ro;
GRANT select ON profile_options_v          TO eft_api_ro;
GRANT select ON system_users_v             TO eft_api_ro;
GRANT select ON user_profiles_v            TO eft_api_ro;
GRANT select ON system_profiles_v          TO eft_api_ro;
GRANT select ON system_options_v           TO eft_api_ro;


SPOOL OFF
