Permission to view content of table of SYS schema to newly created user

Hi,
I am facing issue giving permission to view contents of table p_users of SYS schema to newly created user.
Regards,
Phani Ram

Hi Phani,
Could you please check if you have an a authorization to give a permission to other users for particular schema.
I mean check for privileges, user and roles.
Warm Regards,
Earesh kumar

Similar Messages

  • Unable to view obiee 11.1.1.5  dashboards for newly created user

    Hi ,
    Im working in obiee 11.1.1.5.0.I created a new user and tried to view a dashboard which I have created in the weblogic user.But it dispalyed the following error.
    Error Codes: YQCO4T56:OPR4ONWY:U9IM8TAC:OI2DL65P
    Odbc driver returned an error (SQLExecDirectW).
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 27005] Unresolved column: "PEO_DIM"."ENTERPRISE_DESCRIPTION".Please have your System Administrator look at the log for more details on this error. (HY000)
    In my understanding,when a new user is created,even if it is not assigned to any role it will have rights to see all the dashboards.Then what will be the reason for this error?Can anyone provide me a solution?
    Eagerly waiting for a reply
    Fathima farsatha

    This is due to access restrictions in RPD, even though user able to see all dbs user suppose to have access privileges for subject areas.

  • Is it safe to purge / delete older records from AUD$ table in SYS schema

    Hi,
    Can we purge / delete older records from AUD$ table in SYS schema.
    Please advice.
    Thanks
    Naveen

    Pl see MOS Doc 73408.1 (How to Truncate, Delete, or Purge Rows from the Audit Trail Table SYS.AUD$) fro details on how to do so.
    HTH
    Srini

  • I don't have permission to view content on hard drive in mac pro???

    I no longer wanted to use my macbook anymore, it's a 2008 model if I remember correctly the white plastic version. However, I wanted to put the hard drive I have in it into my mac pro since I have two more available slots for storage. But after I put it in I went to go try viewing it's contents and it says
    My mac pro  os x version is 10.6.8 I'm not entirely sure what my macbook is running, but it's not yosemite, most likely a version of snow leopard.
    Any ideas of what's going on? How can I get permission to view the contents?

    Try opening Disk Utility and repairing permissions on the disk.
    Next try select that disk in Finder and right click and select Get Info. Then go to Sharing and Permissions section and update/change it

  • Trouble Creating View on External Table in Diff Schema

    I am unable to create a view in a different schema on an external table in a different schema, even when I am connected to my database as SYS as SYSDBA.
    CREATE VIEW WH1.EXT1VIEW AS SELECT * FROM WH1.EXT1VIEW;
    returns the error:
    ORA-06564: object ER_ADMIN_DIR does not exist
    I created a directory:
    CREATE DIRECTORY ER_ADMIN_DIR AS 'C:\ER_Init';
    Granted privs:
    grant read,write on directory ER_ADMIN_DIR to public;
    Created the external table EXT1 in a different schema WH1:
    CREATE TABLE WH1.EXT1 (TABLE_NAME VARCHAR2(100), COLUMN_NAME VARCHAR2(100))
    ORGANIZATION EXTERNAL (TYPE ORACLE_LOADER DEFAULT DIRECTORY SYS.ER_ADMIN_DIR
    ACCESS PARAMETERS
    (RECORDS DELIMITED BY NEWLINE
    FIELDS TERMINATED BY ','
    MISSING FIELD VALUES ARE NULL
    LOCATION ('FILE1.TXT')
    REJECT LIMIT UNLIMITED;
    I can query from the table successfully connected as SYS:
    SQL> select count(*) from wh1.ext1;
    1008
    1 row selected.
    However when I try to create a view on that table connected as SYS:
    CREATE VIEW WH1.EXT1VIEW AS SELECT * FROM WH1.EXT1VIEW;
    I get the following error:
    ORA-06564: object ER_ADMIN_DIR does not exist
    I can connect over to the WH1 schema and create the view successfully, however due to a specific situation I need to be able to create the view from the SYS schema. I can create the view FORCE and it creates with compilation errors, however the view cannot be compiled successfully from SYS.
    Is there a known bug on creating views on external tables remotely?
    Thanks for any help!
    Tina

    I have been able to reproduce your error, using scott instead of sys, and resolve it, as demonstrated below. The combination that I found that worked consisted of having wh1 grant select on ext1 to scott explicitly and using set current_schema to wh1, so that ext1view did not require the wh1 qualifier.
    scott@ORA92> CREATE USER wh1 IDENTIFIED BY wh1
      2  /
    User created.
    scott@ORA92> GRANT CONNECT, RESOURCE TO wh1
      2  /
    Grant succeeded.
    scott@ORA92> CREATE OR REPLACE DIRECTORY er_admin_dir AS 'c:\er_init'
      2  /
    Directory created.
    scott@ORA92> CREATE TABLE wh1.ext1
      2    (table_name  VARCHAR2(100),
      3       column_name VARCHAR2(100))
      4  ORGANIZATION EXTERNAL
      5    (TYPE ORACLE_LOADER
      6       DEFAULT DIRECTORY er_admin_dir
      7       ACCESS PARAMETERS
      8         (RECORDS DELIMITED BY NEWLINE
      9          FIELDS TERMINATED BY ','
    10          MISSING FIELD VALUES ARE NULL)
    11       LOCATION ('file1.txt'))
    12  REJECT LIMIT UNLIMITED
    13  /
    Table created.
    scott@ORA92> CREATE OR REPLACE VIEW wh1.ext1view AS SELECT * FROM wh1.ext1
      2  /
    CREATE OR REPLACE VIEW wh1.ext1view AS SELECT * FROM wh1.ext1
    ERROR at line 1:
    ORA-06564: object ER_ADMIN_DIR does not exist
    scott@ORA92> CONNECT wh1/wh1
    Connected.
    scott@ORA92> @ LOGIN
    scott@ORA92> SET ECHO OFF
    GLOBAL_NAME
    [email protected]2
    wh1@ORA92> GRANT SELECT ON ext1 TO scott
      2  /
    Grant succeeded.
    wh1@ORA92> CONNECT scott/tiger
    Connected.
    wh1@ORA92> @ LOGIN
    wh1@ORA92> SET ECHO OFF
    GLOBAL_NAME
    [email protected]A92
    scott@ORA92> ALTER SESSION SET CURRENT_SCHEMA = wh1
      2  /
    Session altered.
    scott@ORA92> CREATE OR REPLACE VIEW ext1view AS SELECT * FROM wh1.ext1
      2  /
    View created.
    scott@ORA92> ALTER SESSION SET CURRENT_SCHEMA = scott
      2  /
    Session altered.
    scott@ORA92> SELECT * FROM wh1.ext1view
      2  /
    TABLE_NAME
    ---------------------------------------------------------COLUMN_NAME
    ---------------------------------------------------------tab1
    col1
    tab2
    col2
    scott@ORA92>

  • Limiting admin users permission to view content

    I have an administrator user who I need to block from viewing items within a certain content area (and seeing the items on a page).
    However, when I enable this by editing the portal user profile, the knock on effect is that this user then can not add any folder portlets to any pages. There are lots of other pages and content areas that I do need this person to access.
    Please help! How can I block the user from viewing 1 content area, but still enable them to add folders (from other content area) to other pages?
    Cheers.

    Hi,
    The content admin role is normally defined as a system principal by default and therefore will have access to all content regardless of teh individual permissions you assign. See the following link for more information:
    http://help.sap.com/saphelp_nw70/helpdata/EN/19/56f28fbd4e11d5993b00508b6b8b11/frameset.htm
    You should define your permissions more specifically by giving certain roles read/write and other roles/users read only permissions.
    Also have a look ate the following information which gives an overview of KM permissions:
    http://help.sap.com/saphelp_nw70/helpdata/EN/0a/122bd1fd34c24c90618381f89124c6/frameset.htm
    Regards, Lorcan.

  • Work with a table in different schema depending on the user group

    I have 2 groups of users user_group1, user_group2 and also two different schemas schema_group1,schema_group2 containing the same table names with a different content.
    Now, i have to write a stored procedure which takes user name as input and depending on which group the user belongs to, i want to work with table in that user_group schema.  i.e.(if user_group1 then "schema_group1"."table". if user_group2 then "schema_group2"."table" )
    i tried to set schema using dynamic sql but it seems that the schema is changing only after the end of the stored procedure.

    yes, i do maintain a table to map user groups with schema name.
    i have two tables:
    table-1: USERS(user_name, group_name)
    table-2: GET_SCHEMA(group_name, schema_name)
    // Just to make it simple(for testing purpose), i am directly assigning the schema_name inside the stored procedure.
    CREATE PROCEDURE "TEJA"."RETURN_SCHEMA_OF_USER" (IN IN_USER_NAME VARCHAR(30))
    LANGUAGE SQLSCRIPT
    AS
    BEGIN
         DECLARE VAR_USER_GROUP VARCHAR(20);
         --DECLARE VAR_SCHEMA_NAME VARCHAR(20);
         DECLARE SCHEMA_NAME VARCHAR(20);
         DECLARE SQL_STATEMENT VARCHAR(200);
         DECLARE VAR_TEMP VARCHAR(200);
         SELECT USER_GROUP INTO VAR_USER_GROUP FROM "TEJA"."USERS" WHERE USER_NAME =      IN_USER_NAME;
         --SELECT VAR_USER_GROUP AS USER_GRP FROM DUMMY;
         -- SELECT GROUP_NAME INTO VAR_SCHEMA_NAME FROM GET_SCHEMA WHERE GROUP_NAME =      VAR_USER_GROUP;
         -- Instead of above statement, i am directly assigning the schema_name below
         IF VAR_USER_GROUP = 'UNION' THEN
                SCHEMA_NAME := 'USER_UNION';
         ELSE
                SCHEMA_NAME := 'USER_CORPORATE';
         END IF;
         SQL_STATEMENT := 'SELECT * FROM "'||:SCHEMA_NAME||'"."USER_DETAILS"';
         --I have USER_DETAILS table in both the schemas.
         --SQL_STATEMENT := 'SET SCHEMA ' || :SCHEMA_NAME || ' ';
         --sets the schema after the stored procedure is executed.
         EXECUTE IMMEDIATE SQL_STATEMENT;
    END;
    This dynamic sql statement does the job for me, but i don't want to use dynamic sql in all my stored procedures. I need this kind of functionality in almost all of my stored procedures. So, i am looking for a better approach.  I really appreciate your valuable inputs.
    Thank you

  • Block corruption in sys schema

    hi,
    I have a table in sys schema (sorry for creating a table in sys schema) and now it says one block is corrupted while selecting from it. I don't have a backup of the table. Is there any option to repair it without shutting down the database? (i cannot use rman to do blockrecover)
    thanks
    alimajaf

    You haven't given much details about your environment or the corruption in question.
    Did you try DBMS_REPAIR?
    Regards
    Venkat

  • Create user with read access for all tables SAP SID .*

    Hello all,
    could you please help me ? I would like to grant select privilege on all tables SAP<SID>.* for newly created user.
    I have created standard database user (not exclusive).
    I`m able to grant select for individual tables, but I would like to grant select for this user on all SAP<SID>
    schema in simplier way
    But as far as I know, the schema`s owner name must be different then schema name.
    Any idea please ?
    Thank you.
    Pavol

    create user <user_name> identified by <password> <options>;
    grant read on all tables:-
    CREATE OR REPLACE PROCEDURE GRANT_SELECT AS
    CURSOR ut_cur IS
    SELECT table_name
    FROM user_tables;
    RetVal NUMBER;
    sCursor INT;
    sqlstr VARCHAR2(250);
    BEGIN
    FOR ut_rec IN user_tabs_cur;
    LOOP
    sqlstr := 'GRANT SELECT ON '|| ut_rec.table_name
    || ' TO <user_name>';
    sCursor := dbms_sql.open_cursor;
    dbms_sql.parse(sCursor,sqlstr, dbms_sql.native);
    RetVal := dbms_sql.execute(sCursor);
    dbms_sql.close_cursor(sCursor);
    END LOOP;
    END grant_select;
    Edited by: varun4dba on Jan 18, 2011 4:13 PM

  • Dollar table droped in sys Schema

    hi ,
    I am using oracle 11g database release 1,i dropped the dollar table in sys schema accidently is it possible to recover that table in SYS Schema.
    Any advice
    thank you

    hi,
    thanks for the reply,this are the tables i was dropped in my test server
    DROP TABLE LOGMNRG_DICTIONARY$;
    DROP TABLE LOGMNRG_OBJ$;
    DROP TABLE LOGMNRG_TAB$;
    DROP TABLE LOGMNRG_COL$;
    DROP TABLE LOGMNRG_ATTRCOL$;
    DROP TABLE LOGMNRG_TS$;
    DROP TABLE LOGMNRG_IND$;
    DROP TABLE LOGMNRG_USER$;
    DROP TABLE LOGMNRG_TABPART$;
    DROP TABLE LOGMNRG_TABSUBPART$;
    DROP TABLE LOGMNRG_TABCOMPART$;
    DROP TABLE METASCRIPT$;
    DROP TABLE METASCRIPTFILTER$;
    DROP TABLE METANAMETRANS$;
    DROP TABLE METAPATHMAP$;
    DROP TABLE EXTERNAL_TAB$;
    DROP TABLE EXTERNAL_LOCATION$;
    DROP TABLE MODEL$;
    DROP TABLE MODELTAB$;
    DROP TABLE MODELATT$;
    DROP TABLE MODELSET$;
    DROP TABLE LOGMNRG_SEED$;
    SQL> create user new identified by new;
    User created.
    SQL> grant resource,connect to new;
    Grant succeeded.
    SQL> drop user new;
    drop user new
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-00942: table or view does not exist
    i try to drop the user i am getting this error.
    thank u

  • Aud$ table in system schema????

    Dear all.
    Facts: oracle 9204 enterprise. Data guard config.
    OS. AIX 5.3
    Some weeks ago i started to manage a database with the facts describe above. Well. I was viewing the config and i saw a strange configuration...
    My table AUD$ is in the system schema.
    There aren't AUD$ table in SYS schema.
    Exists a synonym sys.aud$ for system.aud$.
    I knew that this table exists en SYS schema and from time to time we can move the records into another schema for storage and performance. But in SYSTEM schema?
    Or exists a parameter in 9i that can i configure that ???
    Thanks a lot !!!!
    ps. apologize my english is not very well !!! =)

    It is quite possible that the AUD$ table was moved from the SYS schema into the SYSTEM schema. See these MOS Docs
    1019377.6 - Script to move SYS.AUD$ table out of SYSTEM tablespace
    72460.1 - Moving AUD$ to Another Tablespace and Adding Triggers to AUD$
    HTH
    Srini

  • Can we join table from different schema?

    Hi
    All,
    I have a SYS schema and MED schema. Now, I want to join DBA_USERS tables from SYS schema to EMPLOYEE table from MED schema to get an username. i am using following query but it's not working.
    select username,empl_userid,empl_nm_lst,empl_nm_fst from sys.dba_users db, med.employee emp where db.username = emp.empl_userid;
    Thanks,
    vishal

    g8 it is working now I just modify my query to make user name in upper case and then compare..
    select username,empl_userid,empl_nm_lst,empl_nm_fst from sys.dba_users db, med.employee emp where db.username = upper(emp.empl_userid);
    before that it was returning nothing..
    thanks for your help ... awesome..
    vishal
    Edited by: vishal patel on Sep 29, 2008 2:39 PM
    Edited by: vishal patel on Sep 29, 2008 2:40 PM

  • Some objects in sys schema not imported usinf full database import/export.

    Hello All,
    We need to migrate database from one server to new server using same database version 11g Release 2 (11.2.0.1.0). We have some production objects in sys schema. We took full export using full=y and then import on new server using full=y. Other objects belonging to different tablespaces and users has successfully imported but production objects i.e table in sys schema not import.
    We used following commands for export and import:
    # exp system file=/u01/backup/orcl_full_exp.dmp log=/u01/backup/orcl_full_exp.log full=y statistics=none
    # imp system file=/u01/backup/orcl_full_exp.dmp log=/u01/backup/orcl_full_imp.log full=y ignore=y
    Kind Regards,
    Sharjeel

    Hi,
    First of all it is not good practice to keep user object in the sys schema
    second you are useing version 11gr2 what not you go for datapump export/import method.
    third, did you get any error in import, what is the error

  • Insufficient privileges when creating user logged in as SYS

    Hi,
    I'm working on 11.1.0.6.0 Enterprise Edition, Advanced Security options, Label Security a and Database Vault installed. (for testing purposes)
    I'm creating a new user being logged as SYS using this sentence:
    CREATE USER "HR_DIRECTOR" PROFILE "DEFAULT" IDENTIFIED BY "*******" DEFAULT TABLESPACE "USERS" TEMPORARY TABLESPACE "TEMP" ACCOUNT UNLOCK;
    However, the command fails with the message "Failed to commit: ORA-01031: insufficient privileges . You do not have enough privileges to perform this operation. You must have the appropriate system and object privileges to create, edit, or drop database objects or objects outside of your schema."
    Please note that I'm working on a fresh DB install and I have also installed Database Vault in this instance for testing purposes, but still haven't configured any realm or command rules on it.
    Is it possible Vault is the reason why I am not able to create a new user?
    Thanks and Regards,
    Leandro

    Hi, It seems I've found it.
    After you install Database Vault and associate it with your SID, SYS user is revoked the CREATE USER system privilege.
    Only a user with the DV_ACCTMGR role may create, alter or drop a user. This is done in order to separate responsabilities in your database. A SYS user cannot grant himself this role or the DV_OWNER role.
    (If interested, check page 10-4 from http://www.oracle.com/pls/db111/to_toc?pathname=server.111/b31222/toc.htm)
    Regards,
    Leandro

  • VIew of Package body in another schema in EA 3.0

    I would like the ability in SQL Developer to view the package body of another schema with the CREATE ANY PRIVILGE.
    For instance, in TOAD you can grant access to DBA_SOURCE or SELECT_CATALOG_ROLE and then be able to view another schema's package body.
    This is long overdue without having to log into that schema or granting CREATE ANY PRIVILEDGE to user.
    This one is really needed

    "CREATE ANY PRIVILEGE" is irrelevant to the ability of viewing the source owned by other users.
    Please provide exact script for creating a user, which is able to see the code, say in HR schema, via the query
    select * from all_source
    where owner = 'HR'
    and yet missing the nodes in the OtherUsers->Packages->PKG_A->PKG_A Body in the navigator.

Maybe you are looking for

  • Why do my 3rd party loops not appear in the "Loop" tab?

    I have saved some Magix wav loops into the local apple users directory of Logic Express and though I can find them using the media browser they do not appear in the loops tab listing. Does anybody know the cure for this?

  • List of bookmarks in folders have disappeared, how do I get list back?

    Suddenly, out of no where, my bookmarks have changed. Until today when I looked at bookmark folders it would show all the web sites that were in the folders. Now, I get the large Safari logo and one web site at time, that will change when moved along

  • Nokia E62 wont Isync

    Just purchased Nokia E62 Because it is officially listed on Apple site as iSync Compatible Device Nokia says no only Europe not USA I did try all the hack German plugins but none of them work and I only have the USB cable as bluetooth was not include

  • IPhoto project export to iTunes disabled in Mountain Lion??

    I am a bit frustrated. It seems that after upgrading to Mountain Lion I cannot export my iPhoto project to iTunes anymore. This is a pity because it is a nice way of bringing my projects with me (iPhone / iPad). Any suggestions?

  • RFC SAPOSS for EWA  Error

    Dear Gurus, I'll tested the connection using SM59 and this below error occured. I think,the connection is Ok before ,but don't know what happen.Where i need to check and fix it. For OSS connection to SAP or PUBLIC its OK.No errors.Only for EWA group.