Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> System vs object privileges

System vs object privileges

From: Norman Dunbar <Norman.Dunbar_at_lfs.co.uk>
Date: Mon, 23 Jun 2003 10:38:55 +0100
Message-ID: <E2F6A70FE45242488C865C3BC1245DA703D2B315@lnewton.leeds.lfs.co.uk>


Comments in-line

cheers,
Norman.

--
-----------------------------------------------------------------
Norman Dunbar (at home on Linux)
Oracle_at_mssqlBountifulSolutions.co.uk

(Delete a Microsoft database name to reply - clue, mssql !)
-----------------------------------------------------------------


-----Original Message-----
From: Peter [mailto:peter_at_nomorenewsspammin.ca]
Posted At: Monday, June 23, 2003 8:22 AM
Posted To: server
Conversation: System vs object privileges
Subject: System vs object privileges




>> Why is an alter on the definition of a table or a sequence an object
>> privilege?
>> According to the manual, "alter any table" and "alter any sequence"
>> are system privileges. Most other "alter" privileges are system
>> privileges.
The emphasis should be 'alter ANY table' or 'alter ANY sequence'. This allows you to change tables/sequences belonging to OTHER schemas, hence it is/should be a system priv. An object priv acts on an object (which you own, or have ADMIN privs on).
>> The "create table" privilege also includes the "create index" system
>> privilege.
>> So why is creating an index on a table an object privilege, when
>> "create any index" a system privilege?
"create index" <> "create ANY index" You can connect as SCOTT and create indexes on SCOTT's tables. You cannot connect as SCOTT and start adding (or dropping) indexes from HR's tables, for example. The ANY is the difference. HTH Norman. -- ----------------------------------------------------------------- Norman Dunbar (at home on Linux) Oracle_at_mssqlBountifulSolutions.co.uk (Delete a Microsoft database name to reply - clue, mssql !) ----------------------------------------------------------------- Thanks
Received on Mon Jun 23 2003 - 04:38:55 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US