Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 12963

Running TSQL job with minimal access

$
0
0

We are working on tightening up our security structure and I am having issues figuring out to handle the TSQL jobs.  The users use to be sysadmins and now they will have read/write access to the data and SQLAgentUser role.  The plan was to make them the owner of the job, so they could only see the job they own.  The first step of one of the jobs does a select into and requires "CREATE TABLE"  and I don't want to elevate their permissions.

I have tried to use the "run as user" but that isn't working as planned.

Any help advice would be appreciated.


Viewing all articles
Browse latest Browse all 12963

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>