Re: Want to grant rights to Role to alter a view: Searching for Grant Alter View or something similar

From: BP Margolin (bpmargo@attglobal.net)
Date: 08/29/02


From: "BP Margolin" <bpmargo@attglobal.net>
Date: Thu, 29 Aug 2002 14:08:40 -0400


Stefan,

To the best of my knowledge, there is no way to grant permissions to alter
just a subset of views. Either one allows users to create / alter views, or
not.

You might consider isolating the changeable views into another database, and
giving your users ddl_admin ... or just CREATE VIEW permissions ... in that
database.

One uses the GRANT command to give permissions. Documentation on the GRANT
command is available in the SQL Server Books Online.

-------------------------------------------
BP Margolin
Please reply only to the newsgroups.
When posting, inclusion of SQL (CREATE TABLE ..., INSERT ..., etc.) which
can be cut and pasted into Query Analyzer is appreciated.

"Stefan van den Berg" <a@b.hom> wrote in message
news:OcuWZH3TCHA.2832@tkmsftngp10...
> I've got a database with loads of views, which should not be changeable by
> non-sa users. But there are a few views which i want the users to be able
to
> change, eventhough dbo is the owner of the views. But i couldn't find a
way
> to grant such rights to a role or user. Only thing that i found, was
making
> the user member of db_ddladmin, but this would mean they could change all
> views, tables, stored procedures, etc, and that's too much freedom (-:
> Who has an idea?
>
> Thanks a lot,
>
> Stefan
>
> PS For my email, exhcange the parts before and after the @
> ee-consultants.de@stefan.vanden.berg
>
>



Relevant Pages

  • Re: Permission settings for views to be created
    ... Using a schema I can deny or grant permissions to use the alter ...
    (microsoft.public.sqlserver.security)
  • Re: USERS group has the ability to change security permissions???
    ... Please use the Advance view in the NTFS permissions dialog to ... When there is a generic grant and a special grant to the same entity ... the RESULT: user level access can change NTFS ...
    (microsoft.public.win2000.security)
  • Re: DCOM Event ID 10015
    ... Grant the user permissions to start the COM component ... Run the MPSRPT_DirSvc.exe on the server box. ... Microsoft CSS Online Newsgroup Support ...
    (microsoft.public.windows.server.sbs)
  • Re: NTFS woes
    ... "In some cases with a grant of Full is reduced ... NTFS permissions dialog. ... check Allow Delete Subfolders and Files ... Explicit Deny Delete on file does not work (user can still delete ...
    (microsoft.public.windows.server.security)
  • Re: NTFS woes
    ... "In some cases with a grant of Full is reduced ... NTFS permissions dialog. ... check Allow Delete Subfolders and Files ... Explicit Deny Delete on file does not work (user can still delete ...
    (microsoft.public.windows.server.security)