Enable/disable Auto DevOps at the user level for gitlab.com
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=26214) </details> <!--IssueSummary end--> ### Problem to solve Currently, gitlab.com users with multiple projects have to iterate through all projects in order to disable auto devops. Furthermore, as we rollout our staggered enablement of the feature some users may get _some_ of their projects enabled and not others. ### Further details (Include use cases, benefits, and/or goals) ### Proposal Provide a mechanism through which users can disable auto devops for the gitlab.com projects. Furthermore, if the setting is set to disable, our staggered rollout should ignore the user's projects and not enable. #### Userspace level This flow should follow the group level flow. Settings will be under `profile/preferences` ![Screen_Shot_2019-01-17_at_9.50.38_AM](https://gitlab.com/gitlab-org/gitlab-ce/uploads/78fc000923dd02306f3522a7d605adb1/Screen_Shot_2019-01-17_at_9.50.38_AM.png) Users will be able to turn off the setting, removing the `instance enabled` badge and disabling the Auto DevOps pipeline on all projects that haven't been explicitly set. #### Userspace with Auto DevOps setting off, instance enabled removed ![Screen_Shot_2019-01-17_at_9.51.36_AM](https://gitlab.com/gitlab-org/gitlab-ce/uploads/1eda21c60903dca53ed370118ee55a66/Screen_Shot_2019-01-17_at_9.51.36_AM.png) #### Project that was enabled via the instance level is no longer enabled ![Screen_Shot_2019-01-17_at_9.35.52_AM](https://gitlab.com/gitlab-org/gitlab-ce/uploads/6fe4cf6bd31976b92cf22eac9a970a7b/Screen_Shot_2019-01-17_at_9.35.52_AM.png) If a user turns off the instance enablement at a userspace level and then turns it back on, the badge under projects should read `userspace enabled` ![Screen_Shot_2019-01-17_at_9.51.48_AM](https://gitlab.com/gitlab-org/gitlab-ce/uploads/944fa54568b62b01df88d9cc7deb3541/Screen_Shot_2019-01-17_at_9.51.48_AM.png) If a user turns off the userspace enablement at a project level, then the badge should be removed. ### What does success look like, and how can we measure that? (If no way to measure success, link to an issue that will implement a way to measure this) ### Links / references Re: https://gitlab.slack.com/archives/CB07X8AQ3/p1539092581000100
issue