{"action":"opened","issue":{"url":"https://api.github.com/repos/ctrlbold/dbatools/issues/157","repository_url":"https://api.github.com/repos/ctrlbold/dbatools","labels_url":"https://api.github.com/repos/ctrlbold/dbatools/issues/157/labels{/name}","comments_url":"https://api.github.com/repos/ctrlbold/dbatools/issues/157/comments","events_url":"https://api.github.com/repos/ctrlbold/dbatools/issues/157/events","html_url":"https://github.com/ctrlbold/dbatools/issues/157","id":171922901,"number":157,"title":"copy-sqllogin should not require sysadmin privileges","user":{"login":"paschott","id":341111,"avatar_url":"https://avatars.githubusercontent.com/u/341111?v=3","gravatar_id":"","url":"https://api.github.com/users/paschott","html_url":"https://github.com/paschott","followers_url":"https://api.github.com/users/paschott/followers","following_url":"https://api.github.com/users/paschott/following{/other_user}","gists_url":"https://api.github.com/users/paschott/gists{/gist_id}","starred_url":"https://api.github.com/users/paschott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paschott/subscriptions","organizations_url":"https://api.github.com/users/paschott/orgs","repos_url":"https://api.github.com/users/paschott/repos","events_url":"https://api.github.com/users/paschott/events{/privacy}","received_events_url":"https://api.github.com/users/paschott/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-18T15:00:37Z","updated_at":"2016-08-18T15:00:37Z","closed_at":null,"body":"Our PS/Sysadmin commented out Functions\\ Copy-SQL-SysDBUserObjects.ps1 Line 51  to remove the \"sysadmin\" requirement.  However, this should probably be changed to something a bit more appropriate to check the actual permissions required (securityadmin?).\r\n\r\nCommenting out this line worked with the user set as a security admin."}}
{"actor":{"display_login":"paschott"}}