HSchuerger
Member
We are on Oracle 11gR2.
We have version 10.0.5.1710 installed.
We have SELECT on DBA views granted via a role.
We have Tools, Pereferences, Oracle, Options, "Use DBA Views if available" selected.
Right-click on a table-name does not include Describe as an option.
I had this security configured and tested it and it seemed to work. Our developers complained that it was not working for them. I observed their actions, and it indeed was not working for them. I had them try the test-account that I was using and it did not work for them. And now it does not work when I use the test-account.
The security does work in TOAD.
The goal is for developers to be able to describe objects without having SELECT on objects until they have created a CRUD analysis. They are able to navigate in the Objects list and view table structure but not package logic.
I did run with DebugSQL, so I am aware that the package logic is not available because it uses ALL_PROBE_OBJECTS, which is based on ALL_OBJECTS, so developers would only see logic for which they have been granted EXECUTE permission. I have yet to determine why the right-click Describe option is not available for tables/views in the SQL Window. I will post a comment on this thread with the DebugSQL that ran for the attempted right-click.
The following security allows us to achieve our goal in TOAD:
GRANT SELECT ANY DICTIONARY TO usr_view_metadata;
GRANT select_catalog_role TO usr_view_metadata;
GRANT SELECT ON budba.schema_info TO usr_view_metadata;
We also include the following to allow developers to search the metadata directly:
GRANT SELECT ON dba_dependencies TO usr_view_metadata;
GRANT SELECT ON dba_tab_columns TO usr_view_metadata;
GRANT SELECT ON dba_tab_comments TO usr_view_metadata;
GRANT SELECT ON dba_col_comments TO usr_view_metadata;
GRANT SELECT ON dba_objects TO usr_view_metadata;
GRANT SELECT ON dba_source TO usr_view_metadata;
We have version 10.0.5.1710 installed.
We have SELECT on DBA views granted via a role.
We have Tools, Pereferences, Oracle, Options, "Use DBA Views if available" selected.
Right-click on a table-name does not include Describe as an option.
I had this security configured and tested it and it seemed to work. Our developers complained that it was not working for them. I observed their actions, and it indeed was not working for them. I had them try the test-account that I was using and it did not work for them. And now it does not work when I use the test-account.
The security does work in TOAD.
The goal is for developers to be able to describe objects without having SELECT on objects until they have created a CRUD analysis. They are able to navigate in the Objects list and view table structure but not package logic.
I did run with DebugSQL, so I am aware that the package logic is not available because it uses ALL_PROBE_OBJECTS, which is based on ALL_OBJECTS, so developers would only see logic for which they have been granted EXECUTE permission. I have yet to determine why the right-click Describe option is not available for tables/views in the SQL Window. I will post a comment on this thread with the DebugSQL that ran for the attempted right-click.
The following security allows us to achieve our goal in TOAD:
GRANT SELECT ANY DICTIONARY TO usr_view_metadata;
GRANT select_catalog_role TO usr_view_metadata;
GRANT SELECT ON budba.schema_info TO usr_view_metadata;
We also include the following to allow developers to search the metadata directly:
GRANT SELECT ON dba_dependencies TO usr_view_metadata;
GRANT SELECT ON dba_tab_columns TO usr_view_metadata;
GRANT SELECT ON dba_tab_comments TO usr_view_metadata;
GRANT SELECT ON dba_col_comments TO usr_view_metadata;
GRANT SELECT ON dba_objects TO usr_view_metadata;
GRANT SELECT ON dba_source TO usr_view_metadata;