﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2008 / Security (SS2K8)  / Permission question / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Tue, 21 May 2013 19:54:39 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Permission question</title><link>http://www.sqlservercentral.com/Forums/Topic1378664-1526-1.aspx</link><description>Thanks a lot opc.three. This helped.</description><pubDate>Thu, 01 Nov 2012 07:18:54 GMT</pubDate><dc:creator>sqlnaive</dc:creator></item><item><title>RE: Permission question</title><link>http://www.sqlservercentral.com/Forums/Topic1378664-1526-1.aspx</link><description>[quote][b]sqlnaive (10/30/2012)[/b][hr]Suppose there is a tableA and trigger defined for Insert, Update and delete to populate audit table say tableB. Now If i want to give a user U1 write permissions on table tableA, will the trigger work on any kind of operation to populate audit table ? The case here is that user has access only to main table and not audit table.[/quote]If tableA and tableB have the same owner (or are in the same schema, e.g. dbo) then you do not need to grant any explicit permissions to U1 on tableB.Read more about ownership chaining [u][url=http://msdn.microsoft.com/en-us/library/ms188676(v=sql.105).aspx]here[/url][/u].</description><pubDate>Tue, 30 Oct 2012 10:05:54 GMT</pubDate><dc:creator>opc.three</dc:creator></item><item><title>Permission question</title><link>http://www.sqlservercentral.com/Forums/Topic1378664-1526-1.aspx</link><description>Suppose there is a tableA and trigger defined for Insert, Update and delete to populate audit table say tableB. Now If i want to give a user U1 write permissions on table tableA, will the trigger work on any kind of operation to populate audit table ? The case here is that user has access only to main table and not audit table.</description><pubDate>Tue, 30 Oct 2012 04:25:00 GMT</pubDate><dc:creator>sqlnaive</dc:creator></item></channel></rss>