Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
4.0.0
-
None
Description
Consider the scenario:
-- A privileged user is doing the following actions. Create table foo_tbl(i int); Create table foo_bar(name string); Create view foo_view as select * from foo_tbl; -- An unprivileged user can do the following operation, when he/she has select privileges on foo_bar table but he/she doesn't have any privileges on foo_tbl or foo_view. alter view foo_view as select * from foo_bar;
An unauthorized user shouldn't be able to alter the view schema when he/she doesn't have any privileges on that view.
Attachments
Issue Links
- links to