Teradata admin
Teradata Teradata Discussion Forums Teradata.com Discussion Forum
Visit Teradata.com
Home       Guidelines    Member List
Welcome Guest ( Login | Register )
        


This online forum is for user-to-user discussions of Teradata products, and is not an official customer support channel for Teradata. If you require direct assistance, please contact Teradata support.


Teradata admin Expand / Collapse
Author
Message
Posted 7/9/2009 6:23:22 PM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 9/9/2009 1:43:59 PM
Posts: 10, Visits: 20
I have created a role and granted this role to the user but the user can't access the database that is granted to the role.

I have executed the follwoing.
create role x;
grant select on edw_tb to x;
grant x to user1;

What I am doing wrong here?


Kumar

Datawarehousing Consultant</
Post #16112
Posted 7/11/2009 1:00:27 PM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: PAC and SFT Members
Last Login: 9/9/2009 4:34:06 PM
Posts: 407, Visits: 889
It's not enough to be permitted to use the role, User1 needs to "assert" the role to actually inherit the permissions. That can be executing an explicit SET ROLE statement after logon, or more likely what you want is to

MODIFY USER User1 AS DEFAULT ROLE = x;
or
MODIFY USER User1 AS DEFAULT ROLE = ALL;
Post #16133
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 ( 0 guests, 0 members, 0 anonymous members )
No members currently viewing this topic.


All times are GMT -5:00, Time now is 6:14am

Powered By InstantForum.NET v4.1.4 © 2009
Execution: 0.078. 8 queries. Compression Disabled.