ALL_SNAPSHOT view privileges
Does anyone know what privileges need to be given so that a user has access to this SYS view?
Thanks!
I found the right place to set up authorization to make it work. The tutorial didn't update to Interactive Report.
1. Click the Application ID breadcrumb link.
The Application home page appears.
2. Click 1 - Report Page.
The Page Definition for page 1 appears.
3. Under Regions, click the Interactive Report link.
The Report Attributes page appears.
4. Scroll down to Link Column.
This is the right place to select Authorization Scheme instead of ID Column Attributes page.
Similar Messages
-
How to set the view privilege of a portlet?
Dear all,
I would like to ask how to set the view privilege of a portlet (which is located on the Intranet homepage) to only a group of users?
As far as I know, I can create a tab with view privilege to address the about scenario. But is it possible to directly set the view privilege to the portlet ?
thanks
George (HK)
Welcome to my photo albums at http://community.webshots.com/user/GeorgeLee80
Message was edited by:
georgelkhOK, you got me there George. I don't know where you can set view rights to an out of box portlet. So how about a different approach?
1) Create a blank page with no nav bar or anything else
2) Assign the group you want to see the notifications portlet view rights on the page
3) Make sure the show as portlet check box is checked on the Optional tab in the page properties
4) Add the notifications portlet to the page
5) Ensure the portlet settings are how you desire in terms of what notifications to show and the region settings are how they should be in terms of border, headers, etc
6) Edit the page where you want the notifications portlet to be shown and add the page portlet you just created instead of the notification portlet
This should achieve what you seek without having to dig into out-of-box portlets.
Rgds/Mark M. -
How to grant view privilege for Instant Portal to public users?
How to grant view privilege for Instant Portal to public users?
Oracle Instant Portal was designed to offer secure access to company and departmental information, and it isn't currently possible to make instant portal pages public.
-
Define adobe reader 11 protected view privileged locations via the registry
Is it possible to define adobe reader 11 protected view privileged locations via the registry?
I need to add the folder path our docuemnt managment system uses for its temp directory.
ThanksI modified the transform file I use to deploy reader via group policy with the adobe customization wizard and specified the desired privileged locations.
I then did a test deploy of reader to a workstation and adobe reader 11.0.02 was installed. None of the privileged locations I defined in the transform are showing up as being defined in the GUI and they are not in the registry @ HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\11.0\TrustManager\cTrustedFolders I used filemon to figure out where reader was writing to in the registry.
I don’t know if there are issues with certain parts of the transform being ignored when installing the software. I have noticed that if I install adobe reader via the command line and apply the transform, the installer completely ignores the transform but gives no errors. -
Hi ,
I have a role R.
I want to see what privileges have been granted to this Role R.
Where should i query?
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
PL/SQL Release 11.2.0.3.0 - Production
"CORE 11.2.0.3.0 Production"
TNS for Solaris: Version 11.2.0.3.0 - Production
NLSRTL Version 11.2.0.3.0 - ProductionHi, whilst this response does not directly answer your question, it will give you a greater ability to answer questions such as these for yourself without having to wait for someone else to post the solution for you.
SELECT *
FROM dict
WHERE table_name LIKE '%ROLE%';
DICT is a view that allows you to see the names (and minor details) of all the data dictionary tables (the sort of place you will find the tables pertaining to roles, privileges, tables, tablespaces etc etc etc)
Give it a try, and pass different values into the search string too. -
Why Oracle removed "Create View" privilege from "Resource" role?
Seems like a silly question, but does anyone know why?
>
Hm.. deprciated and replaced by what? I know they trimmed CONNECT a lot but only create view seemed missing from RESOURCE.
>
Replaced by NOTHING. They didn't just 'trim' CONNECT; it only has the CREATE SESSION privilege now.
The only published info I've seen are these two notes in the Oracle is this from the Database Security Guide.
http://docs.oracle.com/cd/B28359_01/network.111/b28531/authorization.htm
>
Note:
Each installation should create its own roles and assign only those privileges that are needed, thus retaining detailed control of the privileges in use. This process also removes any need to adjust existing roles, privileges, or procedures whenever Oracle Database changes or removes roles that Oracle Database defines. For example, the CONNECT role now has only one privilege: CREATE SESSION. Both CONNECT and RESOURCE roles will be deprecated in future Oracle Database releases.
Note:
Customers should discontinue using the CONNECT and RESOURCE roles, as they will be deprecated in future Oracle Database releases. The CONNECT role presently retains only the CREATE SESSION privilege. -
Insufficient privileges to create view
Hi! I am working with some software that creates views in certain situations. For whatever reason, Oracle indicated that the user does not have sufficient privileges to create views although I can create procs, functions, triggers, etc.
Can anyone help me with this issue?Reiteration I know, but Nicolas' point is almost certainly the cause: having CREATE VIEW privilege does not mean that you magically get the rights to see the data in the objects your view references.
Example:
User FRED creates table ABC:
CREATE TABLE ABC AS SELECT * FROM DUAL;
He then allows user TERRY to insert into the table:
GRANT INSERT ON ABC TO TERRY;
Terry creates a view of that table:
CREATE VIEW ABC_V AS SELECT * FROM FRED.ABC;
Terry tries to select from his view:
SELECT * FROM ABC_V;
ORA-01031: insufficient privileges
That sort of thing.
HTH -
Is there any view to get the privileges of that particulatr role?
Hi,
I wanna know,what are the privileges for the role.How to get it?Please review the following;
Viewing Privilege and Role Information
http://download.oracle.com/docs/cd/B19306_01/network.102/b14266/admusers.htm#sthref1804
Also mention the database version.
Adith -
Error while Driving a view using parameters from other view
Hi,
I have created a report with streamlist and Barchart view.Driving option is used in streamlist to drive the barchart. The driving works well untill i dont use any filters in the Streamlist.Once i use parameters in streamlist , the driving works only for the default values set.When Second set of values are chosed for the parameter,the values are displayed correctly , but once they are selected for driving,the current values are replaced by the results of the default parameter settings.
I have already done the tutorials for driving and it worked well untill i use filters in the main view,from where the driving is done.
I would really appreciate if someone could give a solution for this problem.
Regards,
LathikaHi,
Login as i.e. sys as sysdba. Standard password is change_on_install.
Or you can login in using user that has CREATE VIEW WITH ADMIN OPTION and then grant CREATE VIEW privilege to user to want.
Peter D. -
Hi,
I ahve an urgent requirement.
I have to poll records(logical delete) from a VIEW in oracle 11i database.
But polling is working on table but not on VIEW of the table.
i have created the view and commited but polling was not happning.
can any one help me in this.
is i have to use anything else on the view(like trigger).
I am not sure aboout trigger, please let me know any one have solution.
Thanks.Hi,
I created a view under one schema in Oracle database and i was able to poll that view and the BPEL Instances are getting created...
i created a view for the table and after i insert the record in to the table, i just did a commit, then the instances are getting created...
before that, i have assigned resource, sysdba, create view privileges to the schema under which i have created the view...
I don't think u need a trigger here, all you need is doing a commit after inserting into the table because as soon as the table gets populated, the view will also be
populated...
Thanks,
N -
Create a view based on a public synonym
Hi I'm trying to create a view based on a public synonym, but getting "ORA-01031: insufficient privileges" error.
When i retrieve records from the same public synonym, i could able to do so. But when i try to create a view based on that synonym, it is not possible. Why is it? Can anyone please explain?
11:58:04 IT00053.it0053@SCOTT> connect sys as sysdba
Enter password: ******
Connected.
11:58:14 IT00053.it0053@SYS> create role general_user_role;
Role created.
Elapsed: 00:00:00.14
11:58:33 IT00053.it0053@SYS> connect scott
Enter password: *****
Connected.
11:58:41 IT00053.it0053@SCOTT> select * from tab;
TNAME TABTYPE CLUSTERID
DEPT TABLE
EMP TABLE
BONUS TABLE
SALGRADE TABLE
DEPT_TAB SYNONYM
Elapsed: 00:00:00.01
11:58:47 IT00053.it0053@SCOTT> create public synonym scott_emp for scott.emp;
Synonym created.
Elapsed: 00:00:00.06
11:59:14 IT00053.it0053@SCOTT> grant select on scott_emp to general_user_role;
Grant succeeded.
Elapsed: 00:00:00.14
11:59:35 IT00053.it0053@SCOTT> connect sys as sysdba
Enter password: ******
Connected.
12:00:13 IT00053.it0053@SYS> create user beginning_user
12:00:31 2 identified by beginning_user
12:00:38 3 default tablespace users
12:00:45 4 temporary tablespace temp;
User created.
Elapsed: 00:00:00.04
12:00:53 IT00053.it0053@SYS> grant connect, resource, create table, create view to beginning_user;
Grant succeeded.
Elapsed: 00:00:00.01
12:01:13 IT00053.it0053@SYS> grant general_user_role to beginning_user;
Grant succeeded.
Elapsed: 00:00:00.01
12:01:35 IT00053.it0053@SYS> connect beginning_user/beginning_user
Connected.
12:01:49 IT00053.it0053@SYS> connect beginning_user
Enter password: **************
Connected.
12:02:01 IT00053.it0053@SYS> show user
USER is "BEGINNING_USER"
12:02:06 IT00053.it0053@SYS> select * from scott_emp;
EMPNO ENAME JOB MGR HIREDATE SAL
COMM DEPTNO
7369 SMITH CLERK 7902 17-DEC-80 800
20
7499 ALLEN SALESMAN 7698 20-FEB-81 1600
300 30
7521 WARD SALESMAN 7698 22-FEB-81 1250
500 30
7566 JONES MANAGER 7839 02-APR-81 2975
20
7654 MARTIN SALESMAN 7698 28-SEP-81 1250
1400 30
7698 BLAKE MANAGER 7839 01-MAY-81 2850
30
7782 CLARK MANAGER 7839 09-JUN-81 2450
10
7788 SCOTT ANALYST 7566 19-APR-87 3000
20
7839 KING PRESIDENT 17-NOV-81 5000
10
7844 TURNER SALESMAN 7698 08-SEP-81 1500
0 30
7876 ADAMS CLERK 7788 23-MAY-87 1100
20
7900 JAMES CLERK 7698 03-DEC-81 950
30
7902 FORD ANALYST 7566 03-DEC-81 3000
20
7934 MILLER CLERK 7782 23-JAN-82 1300
10
14 rows selected.
Elapsed: 00:00:00.21
12:02:16 IT00053.it0053@SYS> create or replace view new_view_1 as select empno, ename, job from
12:02:50 2 scott_emp;
scott_emp
ERROR at line 2:
ORA-01031: insufficient privileges
Why is this error?
Your help will be much appreciated...
Thanks and regards
Muthucreate any view privilege
10:15:07 IT00053.it0053@SYS> connect sys as sysdba
Enter password: ******
Connected.
10:22:27 IT00053.it0053@SYS>
10:22:28 IT00053.it0053@SYS>
10:22:28 IT00053.it0053@SYS> grant create any view to beginning_user;
Grant succeeded.
Elapsed: 00:00:00.00
10:22:53 IT00053.it0053@SYS> connect beginning_user/beginning_user
Connected.
10:22:59 IT00053.it0053@SYS> create or replace view new_view_1 as select empno, ename, job from scot
t_emp;
create or replace view new_view_1 as select empno, ename, job from scott_emp
ERROR at line 1:
ORA-01031: insufficient privileges
---> Same result
But When creating a view, the owner must have granted the select directly.
10:23:08 IT00053.it0053@SYS> connect scott/tiger
Connected.
10:25:43 IT00053.it0053@SCOTT> grant select on scott_emp to beginning_user;
Grant succeeded.
Elapsed: 00:00:00.07
10:26:14 IT00053.it0053@SCOTT> connect beginning_user/beginning_user
Connected.
10:26:19 IT00053.it0053@SCOTT> create or replace view new_view_1 as select empno, ename, job
10:26:25 2 from scott_emp;
View created.
Elapsed: 00:00:00.03
This works. Thanks a lot for your timely help.
danke shun herr bochum. thanks to mr.ankara -
Create view structure based on table
Hi,
I've got two tables one spec table containing a table num, column name and column length. For example:
Table num Column name Column length
1 client_id 8
1 client_name 15
1 client_gender 1
2 order_num 4
2 order_date 8
...and one data table containing multiple records with table num and data for each table num defined in spec table. For example:
Table num Data
1 12345678Ben Anderson M
1 75486923Evy Jans F
2 123420/05/07
2 000117/04/07
...How can I create a script to create a view for table num '1' based on the strucure defined in the spec table and containing the data of table one that is stored in the data table?
Thanks.
Regards,
KenAssuming that the spec table has a column position column then given these tables:
SQL> SELECT * FROM tab_spec;
TAB_ID COL_NAME COL_LEN COL_POS
1 client_id 8 1
1 client_name 15 2
1 client_gender 1 3
2 order_num 4 1
2 order_date 8 2
SQL> SELECT * FROM tab_data;
TAB_ID DATA
1 12345678Ben Anderson M
1 75486923Evy Jans FA procedure along the lines of:
CREATE PROCEDURE make_view (p_tab_id IN NUMBER,
p_view_name IN VARCHAR2) AS
l_sql VARCHAR2(32767);
l_start NUMBER := 1;
BEGIN
l_sql := 'CREATE VIEW '||p_view_name||' AS SELECT ';
FOR r IN (SELECT col_name, col_len
FROM tab_spec
WHERE tab_id = p_tab_id
ORDER BY col_pos) LOOP
l_sql:= l_sql||'SUBSTR(data,'||l_start||', '||r.col_len||') '||
r.col_name||',';
l_start := l_start + r.col_len;
END LOOP;
l_sql := RTRIM(l_sql, ',')||' FROM tab_data WHERE tab_id = '||p_tab_id;
EXECUTE IMMEDIATE l_sql;
END;should do the trick. Note that the owner of the procedure will need to have the CREATE VIEW privilege granted directly and not through a role.
Having done this, I must reiterate what others have already said. This is a spectacularly bad idea. Rather than creating a view, I would change it to generate a CREATE TABLE statement to dump the data into proper tables.
John -
ASIF_SELECT is a database use with select privilege on some table and have roles CONNECT & RESOURCE, after log on if he execute following statement, there is no problem, but when he try to create view of that it give ORA-01031 insufficient privilege error, and show * on general_information.cb_region_fo d .
If i give him SELECT ANY TABLE privilege error remove, we can not give him this privilege. how to resolve this error
SELECT DISTINCT c.br_region_fo_code AS region_code,
d.NAME,
SUM (c.employer_contribution) OVER (PARTITION BY c.br_region_fo_code) AS emp_contr,
SUM (c.emp_arrear_amount) OVER (PARTITION BY c.br_region_fo_code) AS emp_arrear
FROM core_business.cb_contr_emp_pmt_slip c,
general_information.cb_region_fo d
WHERE c.br_region_fo_code = d.region_fo_code
ORDER BY c.br_region_fo_code;
CREATE OR REPLACE FORCE VIEW ASIF_SELECT.A1A2 AS
SELECT DISTINCT c.br_region_fo_code AS region_code,
d.NAME,
SUM (c.employer_contribution) OVER (PARTITION BY c.br_region_fo_code) AS emp_contr,
SUM (c.emp_arrear_amount) OVER (PARTITION BY c.br_region_fo_code) AS emp_arrear
FROM core_business.cb_contr_emp_pmt_slip c,
general_information.cb_region_fo d
WHERE c.br_region_fo_code = d.region_fo_code
ORDER BY c.br_region_fo_code;Hi,
As you said SELECT ANY TABLE privilege works fine and, so i suppose you have create view privilege and you can create view.
If you have create view privilege and still you can't create then read bellow.
FROM core_business.cb_contr_emp_pmt_slip c,
general_information.cb_region_fo dYou are referencing two tables/view in this statement. I suspect one of them is a view, please let us know which one is view(or both are views). This view references another table and on which ASIF_SELECT should have select privilege, right?
In this case, find out the tables involved in above view(s) and grant owner of this view the "select privilege with grant option"
suppose core_business.cb_contr_emp_pmt_slip is a view involving a table "user1.table1"
You should grant rights on user1.table1 to core_business as follows
grant select on user1.table1 to core_business
grant select on core_business.cb_contr_emp_pmt_slip to ASIF_SELECT;Now user ASIF_SELECT will be able to create a view while querying core_business.cb_contr_emp_pmt_slip.
Salman -
Insufficient privilege while using dynamic sql in procedure
Hi,
I am using following script on oracle 10g. and getting unsufficient privs error. please advice.
SQL> show user
User is "GRSADM"
SQL> create or replace procedure grsadm.test_proc as
a varchar2(2000);
begin
a:='CREATE OR REPLACE VIEW
test_view
AS SELECT
''sadf'' a
FROM dual';
execute immediate a;
end;
Procedure created.
SQL> begin
grsadm.test_proc;
end;
begin
grsadm.test_proc;
end;
Error at line 16
ORA-01031: insufficient privileges
ORA-06512: at "GRSADM.TEST_PROC", line 9
ORA-06512: at line 2
SQL> select * from session_privs
where privilege like '%VIEW%'
PRIVILEGE
CREATE ANY VIEW
DROP ANY VIEW
CREATE ANY MATERIALIZED VIEW
ALTER ANY MATERIALIZED VIEW
DROP ANY MATERIALIZED VIEW
5 rows selected.
Edited by: Ratnesh Sharma on Nov 24, 2011 12:00 PMyes it has EXECUTE ANY PROCEDURE priv.
Following is the list of all the priv this user has.
PRIVILEGE
CREATE ANY SQL PROFILE
DROP ANY SQL PROFILE
GRANT ANY OBJECT PRIVILEGE
DEBUG CONNECT SESSION
RESUMABLE
ADMINISTER DATABASE TRIGGER
ADMINISTER RESOURCE MANAGER
DROP ANY OUTLINE
DROP ANY CONTEXT
CREATE ANY CONTEXT
MANAGE ANY QUEUE
DROP ANY DIMENSION
CREATE ANY DIMENSION
GLOBAL QUERY REWRITE
DROP ANY INDEXTYPE
CREATE ANY INDEXTYPE
DROP ANY OPERATOR
CREATE ANY OPERATOR
DROP ANY LIBRARY
CREATE ANY LIBRARY
EXECUTE ANY TYPE
DROP ANY TYPE
ALTER ANY TYPE
CREATE ANY TYPE
DROP ANY DIRECTORY
CREATE ANY DIRECTORY
DROP ANY MATERIALIZED VIEW
ALTER ANY MATERIALIZED VIEW
CREATE ANY MATERIALIZED VIEW
ANALYZE ANY
DROP PROFILE
CREATE PROFILE
DROP ANY TRIGGER
ALTER ANY TRIGGER
CREATE ANY TRIGGER
EXECUTE ANY PROCEDURE
DROP ANY PROCEDURE
ALTER ANY PROCEDURE
CREATE ANY PROCEDURE
CREATE PROCEDURE
AUDIT ANY
DROP ANY ROLE
CREATE ROLE
DROP PUBLIC DATABASE LINK
CREATE PUBLIC DATABASE LINK
CREATE DATABASE LINK
DROP ANY SEQUENCE
CREATE ANY SEQUENCE
DROP ANY VIEW
CREATE ANY VIEW
DROP PUBLIC SYNONYM
CREATE PUBLIC SYNONYM
DROP ANY SYNONYM
CREATE ANY SYNONYM
DROP ANY INDEX
ALTER ANY INDEX
CREATE ANY INDEX
DROP ANY CLUSTER
CREATE ANY CLUSTER
DELETE ANY TABLE
UPDATE ANY TABLE
INSERT ANY TABLE
SELECT ANY TABLE
COMMENT ANY TABLE
DROP ANY TABLE
ALTER ANY TABLE
CREATE ANY TABLE
DROP ROLLBACK SEGMENT
CREATE ROLLBACK SEGMENT
DROP USER
BECOME USER
CREATE USER
UNLIMITED TABLESPACE
DROP TABLESPACE
ALTER TABLESPACE
CREATE TABLESPACE
CREATE SESSION
ALTER SYSTEM -
ADD_TOPO_GEOMETRY_LAYER : table or view does not exist
Hi,
I am try to run the TOPOLOGY pl/sql examples from the sdo_topo_concepts.htm page.
When I get to the EXECUTE SDO_TOPO.ADD_TOPO_GEOMETRY_LAYER('CITY_DATA', 'CITY_STREETS', 'FEATURE','LINE'); step I always get the following error:
ERROR at line 1:
ORA-00942: table or view does not exist
ORA-06512: at "MDSYS.SDO_TOPO", line 992
ORA-06512: at "MDSYS.SDO_TOPO", line 1051
ORA-06512: at line 1
The city_street table exists.
I tried both the 'from topology data' and 'from spatial geometries' versions with the same error.
Any suggestions?
Note: the entry is added to the user_sdo_topo_metadata successfully.
Using: Oracle Spatial 10.2.0.4
Thanks
GunterI suspect the error is due to some changed privileges in 11.1.
Do you have explicit CREATE VIEW privilege granted to the user who is calling this procedure ?
You can also do a sql_trace to see which SQL is actually failing.
siva
Maybe you are looking for
-
MacbookPro 13'' temperature problem
Hi everyone, I have a Macbook Pro 13'' Mid-2012 (A1278) with a Intel Core i7 2.9GHz for a year ago, but the cpu fan is a little noisy and I check temperature with a "Temperature Monitor App" and CPU Temp is 80ºC with only Chrome and Coda 2 opened. No
-
Can't access gmail and google docs
i've posted about this before. still can't access gmail or google docs (or google reader) over my airport extreme n. all works fine on the desktop machine through the ethernet port on the base station. any advice?
-
I need to download a copy of audition cs5.5
Can someone tell me where to download audition cs5.5
-
How many pages can my iphoto photo album be?
My photo album is freezing me out at a certain number of pages. I think that perhaps I can only have 100 pages per photo album. My album is not, yet, 100 pages. But, I am being prevented from adding more pages. AND, I would like to have more than
-
CRM 5, Segment Builder: Exclude customer already contacted for a campaign
Hi CRM Gurus, I'm working on a CRM 5.0 scenario. When creating a new Target Group we want to exclude all customers previously contacted for an E-mail campaign. Is there a standard feature to do this or do we have to implement a custom solution? In th