Solved

Grant access to READ-ONLY Oracle Database

Posted on 2009-06-30
3
1,234 Views
Last Modified: 2013-12-19
I am the owner of the Oracle schema. I tried to grant read only access of all my objects to other users.  However, when other users login they can not see all the objects (e.g the definitions of tables or views) on their session.  They are using either Toad or Oracle SQL Developer to view the database objects. How do I give them access to view the definitions of my OBJECTS?
0
Comment
Question by:Severcorr
3 Comments
 
LVL 73

Assisted Solution

by:sdstuber
sdstuber earned 100 total points
ID: 24747109
Some of your privileges will make the all_xxxx views work for the other users.
but some objects will require access to dba_xxxx views

by default toad doesn't use dba_xxxx views, you must configure it to check for access to those views
0
 

Author Comment

by:Severcorr
ID: 24748868
I am not concerning about the Dictionanray tables or views. My question is how come other users can not see the tables or views that I created in their sessions. What priveleges do I need to gave for them to see?
0
 
LVL 35

Accepted Solution

by:
Mark Geerlings earned 400 total points
ID: 24749210
"how come other users can not see the tables or views that I created in their sessions".

Oracle does not support creating objects "in their sessions".  If you have the "create any table" system privilege (or the DBA role which includes this system privilege) you can create objects in any schema (but not in another session).

For other users to see objects in your schema, two things are required:
1. You must "grant select on [object_name] to [other users or roles they have]"
2. They must either use fully-qualified object names: [schema].[object_name] or there must be a synonym for your objects.  This could either be a public synonym (that works for all other users) or it must be a priviate synonym in each uers's schema.

Synonyms (whether public or private) do *NOT* take the place of grants.  Synonyms just allow for objects to be referenced with shorter names, but if there is no grant on the actual object the synonym refers to, the other user will still get the "object does not exist" error.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Note: You must have administrative privileges in order to create/edit Sharing Rules. Salesforce.com (http://www.salesforce.com) (SFDC) is a cloud-based customer relationship management (CRM) system. It is a database most commonly used by sales an…
Salesforce.com is a cloud-based customer relationship management (CRM) system. In this article, you will learn how to add and map custom lead and contact fields to your Salesforce instance.
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question