Re: Ownership Chain Issue
From: Dan Guzman (guzmanda_at_nospam-online.sbcglobal.net)
Date: 11/30/04
- Previous message: Stephen Dybing [MSFT]: "Re: SQL Server 6.5 Post Service Pack 5a"
- In reply to: Scott Shearer: "Ownership Chain Issue"
- Next in thread: Scott Shearer: "Re: Ownership Chain Issue"
- Reply: Scott Shearer: "Re: Ownership Chain Issue"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 29 Nov 2004 22:14:47 -0600
Some tools/APIs require that you create the view with the VIEW_METADATA
option. Otherwise, the base tables are accessed directly rather than via
the view. You can use a Profiler trace to see if this is the case.
-- Hope this helps. Dan Guzman SQL Server MVP "Scott Shearer" <ScottShearer@discussions.microsoft.com> wrote in message news:B12E2447-6AAD-4722-B53C-EC84517FD80E@microsoft.com... > Here is the situation: > I create a database - I am dbo. In this database I have 1 table and 1 > updateable view. dbo shows as the owner of both the table and the view. > I > create a new database user and do not add them to any database or server > roles. I grant the new user select, update, insert and delete permissions > on > the view. > > The user can view all data through the view, however, they cannot add or > update. When they attempt to add or update an error is generated > indicating > that they do not have insert permissions on the table (for an add) or that > they do not have select and update persissions on the table (for an > update). > > My understanding is that since I have an unbroken ownership chain that SQL > Server should not even be checking the permissions on the table. > > What am I missing?
- Previous message: Stephen Dybing [MSFT]: "Re: SQL Server 6.5 Post Service Pack 5a"
- In reply to: Scott Shearer: "Ownership Chain Issue"
- Next in thread: Scott Shearer: "Re: Ownership Chain Issue"
- Reply: Scott Shearer: "Re: Ownership Chain Issue"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|