Unable to create view using table on private schema
Bug #1401268 reported by
Paul Low
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Trafodion |
Fix Released
|
High
|
Roberta Marton |
Bug Description
db__root creates private schema with authorization to another user.
db__root creates table and has SELECT privilege.
db__root is unable to create view selecting from table.
SQL>create private schema pri_sch32 authorization USERNAME1;
--- SQL operation complete.
SQL>set schema pri_sch32;
--- SQL operation complete.
SQL>create table tab1(a int, b int);
--- SQL operation complete.
SQL>select * from tab1;
--- 0 row(s) selected.
SQL>insert into tab1 values (1,1);
--- 1 row(s) inserted.
SQL>create view view1 as select * from tab1;
*** ERROR[4481] The user does not have SELECT privilege on table or view TRAFODION.
SQL>
Changed in trafodion: | |
milestone: | none → r1.1 |
Changed in trafodion: | |
assignee: | Cliff Gray (cliff-gray) → Roberta Marton (roberta-marton) |
Changed in trafodion: | |
status: | In Progress → Fix Committed |
Changed in trafodion: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Currently only considering explicit object-level privileges when deciding if a user has the authority to access the table(s) and view(s) referenced by the view to be created. This will be fixed soon.