All,
Is that possible to have a role that has admin permission on views, but only
read/write permission on tables?
Thanks!
TinaSure, you can create your own role e.g.
exec sp_addrole 'ViewCreators'
grant create view to ViewCreators
exec sp_addrolemember 'db_datareader','ViewCreators'
exec sp_addrolemember 'db_datawriter','ViewCreators'
You can then just add users to that role.
HTH
Jasper Smith (SQL Server MVP)
http://www.sqldbatips.com
I support PASS - the definitive, global
community for SQL Server professionals -
http://www.sqlpass.org
"Tina Ma" <tina.ma@.parsons.com> wrote in message
news:etFp$YyfEHA.4092@.TK2MSFTNGP10.phx.gbl...
> All,
> Is that possible to have a role that has admin permission on views, but
> only
> read/write permission on tables?
> Thanks!
> Tina
>
Showing posts with label permisson. Show all posts
Showing posts with label permisson. Show all posts
Monday, March 26, 2012
Saturday, February 25, 2012
Permission Issues
Dear all,
I created a login name xxx and assigned few permisson on database <xyz>.
Now i want to grant execute permission to user xxx on extended stored procedure xp_cmdshell.
Without creating user in master database is there other way to grant the same to user xxx.
Regards
Mohd Sufian
Using xp_cmdshell requires a high level of permissions.
You can create a proxy account for xp_cmdshell, put the use of xp_cmdshell into a stored procedure, and then give your user permission for the stored procedure.
Check in Books Online about xp_cmdshell and proxy accounts.
Subscribe to:
Posts (Atom)