DB__ROOT is unable to grant privilege on object in private schema
Bug #1402009 reported by
Paul Low
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Trafodion |
Fix Released
|
Medium
|
Roberta Marton |
Bug Description
DB__ROOT user was able to create the object, but is not able to grant privileges on the object on behalf of the owner.
SQL>connect DB_ROOT_
Connected to Trafodion
SQL>create schema schema1 authorization USERNAME1;
--- SQL operation complete.
SQL>set schema schema1;
--- SQL operation complete.
SQL>create table tab1(a int, b int);
--- SQL operation complete.
SQL>grant select on tab1 to USERNAME2;
*** ERROR[1012] No privileges were granted. You lack grant option on the specified privileges.
Changed in trafodion: | |
status: | New → In Progress |
Changed in trafodion: | |
milestone: | none → r1.1 |
Changed in trafodion: | |
assignee: | Cliff Gray (cliff-gray) → Roberta Marton (roberta-marton) |
To post a comment you must log in.
In Trafodion DB__ROOT cannot grant (or revoke) object-level privileges on behalf of the user; the GRANTED BY option is part of the syntax but has not yet been implemented. When GRANTED BY is implemented, likely grants (and revokes) by DB__ROOT will be treated as a GRANTED BY on behalf of the object owner even if the GRANTED BY clause is not supplied.