Follow up to my question "What's the owner of SqlServerAgent job for?"
Basically, I am trying to understand how to create a user-login with least privileges for CRUD-maintaining SQLServerAgent jobs based on SQL Server Maintenance plans.
I've just checked on SQL Server 2008 R2 that SQLAgentOperatorRole, which is the most privileged role among SQL Server Agent Fixed Database Roles, doesn't have any access (even to view):
- the
Management\Maintenance Plans- (as well as) to
Management\Data Collection,Management\Resource Governor)
- (as well as) to
which makes it quiet useless for maintaining SQLServerAgent jobs baased on maintenance plans (my case) ...
So, how to create a user CRUD-maintaining and running SQLServer Agent jobs as well as CRUD-managing Maintenance Plans?
Also, I'd like to better understand the phrase from msdn "Give Others Ownership of a Job":
Assigning a job to another login does not guarantee that the new owner has sufficient permission to run the job successfully
What does guarantee that non-sysadmin role user as owner of a job would have sufficient permissions to run an SQL Server Agent job successfully?