Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

assigning a special user some special privileges Expand / Collapse
Author
Message
Posted Sunday, January 6, 2013 11:55 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Wednesday, January 23, 2013 11:07 PM
Points: 1, Visits: 8
Hello all,
I need some help assigning a special user some special privileges (Role).
I need to give the user reading rights on all tables.
I need to give the user creating right if views.
I don't want to allow him ddl_admin since then he will be able to Drop & Truncate tables.
I think I need to create flexible database role but I don't know how to.

Thanks in advance,
David.
Post #1403429
Posted Monday, January 7, 2013 1:31 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 2:44 AM
Points: 5,143, Visits: 4,938
Create view requires CREATE VIEW permission in the database and ALTER permission on the schema in which the view is being created.

Also db_datareader will do for reading from all tables.




Want an answer fast? Try here
How to post data/code for the best help - Jeff Moden
Need a string splitter, try this - Jeff Moden
How to post performance problems - Gail Shaw
CrossTabs-Part1 & Part2 - Jeff Moden
SQL Server Backup, Integrity Check, and Index and Statistics Maintenance - Ola Hallengren
Managing Transaction Logs - Gail Shaw
Troubleshooting SQL Server: A Guide for the Accidental DBA - Jonathan Kehayias and Ted Krueger

Post #1403457
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse