Reputation: 2016
I use SQL Server 2012 BI edition.
User has the following roles in the MSDB
database:
SQLAgentOperatorRole
SQLAgentReaderRole
SQLAgentUserRole
The user is still NOT able to edit a step in the job to change some parameters. What am I missing?
More details 01:
I have Admin permissions on the BI box. A user needs to run a job when it is required & change configuration parameters when it is required. User is able to successfully run the job, but he cannot edit the step in the job. The button is called View instead of Edit when user looks into properties of the job.
Upvotes: 2
Views: 7557
Reputation: 588
You can use the below stored procedure to update the jobs in SQL Server Agent
USE msdb ;
GO
EXEC dbo.sp_update_jobstep
@job_name = N'Weekly Sales Data Backup',
@step_id = 1,
@command = //your updated command ;
GO
Upvotes: 2
Reputation: 2016
I have finally found the answer on MSDN. User must be a member of the sysadmin fixed server role to modify the jobs that he/she did not create.
http://msdn.microsoft.com/en-us/library/ms190948.aspx#Security
Upvotes: 4