Re: Permissions



Do the objects have the same owner (owner, not schema)?

--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi


"Andy" <andy.johnstone@xxxxxxxxxxxxxxxxxx> wrote in message news:7d4609b1-f6ce-4520-bffb-c1a86e74c56c@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,

I have a table, myTable, in a schema named Schema1. I then created a
view, dbo.MyTable and granted select permissions to certain database
roles. The permissions on Schema1.myTable are left unchanged (no
explicit grant or denies). Now, I've always been under the impression
that a user in one of the granted roles for the view would be able to
select rows from the view just fine.

What has been happening is that I'm also needing to grant select
permission on myTable.

Is that how its supposed to work? This is Sql Server 2005 Standard,
SP3.

Thanks
Andy

.



Relevant Pages

  • Re: Login failed for user
    ... I'm using the same connect string as on all my other sites. ... The DB owner is 'chic' and the schema name is 'abn'. ... View schema permissions> View database permissions> Effective permissions ...
    (microsoft.public.sqlserver.programming)
  • Re: Login failed for user
    ... I'm using the same connect string as on all my other sites. ... The DB owner is 'chic' and the schema name is 'abn'. ... View schema permissions> View database permissions> Effective ...
    (microsoft.public.sqlserver.programming)
  • Re: Qualifier und Owner ermitteln
    ... und ein Owner stehen. ... Hättest Du im gestrigen Threads die Links aufmerksam gelesen, ... Soweit es den SQL Server betrifft: ... "Trennung von Benutzer und Schema" ...
    (microsoft.public.de.german.entwickler.dotnet.datenbank)
  • Re: SQL Connection String
    ... I want to access a database which has a different owner. ... If this is SQL Server 2000, then I can guarantee you mean owner. ... Server 2005 or greater, you probably mean schema. ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Configuring users
    ... Currently only the owner, the DB owner or someone with system administration ... permissions can alter an sp... ... Wayne Snyder, MCDBA, SQL Server MVP ... > permission but this doesn't allow them edit. ...
    (microsoft.public.sqlserver.server)