× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
dutondeumesh reported 2014-05-08T09:58:37Z  · tariqrahiman last modified 2014-05-08T16:09:06Z

Revoke Command behaviour?


Priority Low
Complexity Unknown
Component DB - RedShift
Version 15.0
Aqua Data Studio 15.0.0-dev-269 
Build #: 37723 
Built on: 2014-May-06 06:22:23 PM
 
OS :  Windows 8,64 bit 
 
Revoke Command behaviour? 
 
Steps to Reproduce : Connect to amazon Redshift server
 
Create table and Insert values : 
Create table "public"."test1"("date" date NOT NULL,"datetime" timestamp NOT NULL)
go
 
INSERT INTO "public"."test1"("date", "datetime") 
VALUES ('2014-5-8', '2014-5-8 11:49:24')
GO
 
create view : 
 
Create view demo1 as select * from test1;
 
Right click on view "demo1" and select "View Properties" option
Go to permission tab  
Here we observed that check mark on User “dimentrix”(Master User)
 
Now run below script
 
Select count(*) from demo1;
 
It will result as 1, which is correct
 
Now run below script
 
REVOKE SELECT ON "public"."demo1" FROM "dimentrix"
GO 
 
Again right click on view "demo1" and select "View Properties" option
Go to permission tab
Here we observe that SELECT column for dimentrix user (Master User) is unchecked. 
Is it correct behaviour?
 
Because when we run below script, it gives result as 1. That means it allows to execute select command on view “demo1”. 
Select count (*) from demo1;
 
2 attachments

Issue #12080

Closed
Invalid
Resolved 2014-05-08T16:08:59Z
 
 
Completion
No due date
No fixed build
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017