DBAsupport.com Forums - Powered by vBulletin
Results 1 to 6 of 6

Thread: Privilege Question

  1. #1
    Join Date
    Jun 2001
    Posts
    243
    What kinds of privilege do I need to grant to users in order for them to compile a package on other schema?

  2. #2
    Join Date
    Feb 2001
    Posts
    27
    Hi Gaegoori,

    There are couple of options for these:

    1) you have to be the owner of that package

    or 2) Somebody gave you the privilege to execute that pacakge with admin option

    or 3) you have to have the dba privilege


    Thanks
    Babu

  3. #3
    Join Date
    May 2002
    Posts
    37
    Actually, that user must have following privileges:

    ALTER ANY PROCEDURE
    CREATE ANY PROCEDURE
    DROP ANY PROCEDURE
    EXECUTE ANY PROCEDURE

    Regards.

  4. #4
    Join Date
    Aug 2002
    Location
    Bangalore, India
    Posts
    405
    Originally posted by rafiq
    Hi Gaegoori,

    There are couple of options for these:

    1) you have to be the owner of that package

    or 2) Somebody gave you the privilege to execute that pacakge with admin option

    or 3) you have to have the dba privilege


    Thanks
    Babu
    2. Somebody gave you execute privilege on that package with "WITH GRANT OPTION" not the "WITH ADMIN OPTION"

    3. The user with DBA cannot grant privileges on others objects unless he has privileges with "WITH GRANT OPTION"

    -nagarjuna

  5. #5
    Join Date
    Dec 2000
    Location
    Ljubljana, Slovenia
    Posts
    4,439
    Originally posted by nagarjuna
    3. The user with DBA cannot grant privileges on others objects unless he has privileges with "WITH GRANT OPTION"
    ... or unless this is a Oracle9i Rel.2 database. In 9.2 DBA can grant/revoke object privileges for objects from other schemas without the need to obtain "WITH GRANT OPTON" privilege first.
    Jurij Modic
    ASCII a stupid question, get a stupid ANSI
    24 hours in a day .... 24 beer in a case .... coincidence?

  6. #6
    Join Date
    Aug 2002
    Location
    Bangalore, India
    Posts
    405
    Originally posted by jmodic
    Originally posted by nagarjuna
    3. The user with DBA cannot grant privileges on others objects unless he has privileges with "WITH GRANT OPTION"
    ... or unless this is a Oracle9i Rel.2 database. In 9.2 DBA can grant/revoke object privileges for objects from other schemas without the need to obtain "WITH GRANT OPTON" privilege first.
    ) I am an 8i OCP. I have to learn 9i.

    thanx for the information.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width