Title: Allow users to be added to merge/push rules of protected branches · Issue #653 · python-gitlab/python-gitlab · GitHub
Open Graph Title: Allow users to be added to merge/push rules of protected branches · Issue #653 · python-gitlab/python-gitlab
X Title: Allow users to be added to merge/push rules of protected branches · Issue #653 · python-gitlab/python-gitlab
Description: Description of the problem, including code/CLI snippet The project.protectedbranches.create() method currently does not allow me to configure specific users push and merge rules. Is that hard to add? GitLab API docs show how to add a use...
Open Graph Description: Description of the problem, including code/CLI snippet The project.protectedbranches.create() method currently does not allow me to configure specific users push and merge rules. Is that hard to ad...
X Description: Description of the problem, including code/CLI snippet The project.protectedbranches.create() method currently does not allow me to configure specific users push and merge rules. Is that hard to ad...
Opengraph URL: https://github.com/python-gitlab/python-gitlab/issues/653
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Allow users to be added to merge/push rules of protected branches","articleBody":"## Description of the problem, including code/CLI snippet\r\n\r\nThe `project.protectedbranches.create()` method currently does not allow me to configure specific users push and merge rules. Is that hard to add?\r\n\r\n[GitLab API docs](https://docs.gitlab.com/ee/api/protected_branches.html#example-with-user--group-level-access) show how to add a user to a protected branch.\r\n\r\n## Expected Behavior\r\n\r\nAble to set users to be able to merge/push to the protected branch.\r\n\r\n## Actual Behavior\r\n\r\nNo option \r\n\r\n## Specifications\r\n\r\n - python-gitlab version: 1.6.0\r\n - API version you are using (v3/v4): v4\r\n - Gitlab server version (or gitlab.com): 11.2\r\n","author":{"url":"https://github.com/bertramn","@type":"Person","name":"bertramn"},"datePublished":"2018-12-05T08:37:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/653/python-gitlab/issues/653"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:fffd7314-34ab-b892-115b-9f844fcd64a3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E18C:10B1FA:9EA791:DF30B3:697252FF |
| html-safe-nonce | f46916e80469dbad4e981a32a3cfd5920d21e52bcab8031ae3fc348e49748e77 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMThDOjEwQjFGQTo5RUE3OTE6REYzMEIzOjY5NzI1MkZGIiwidmlzaXRvcl9pZCI6IjQ3MzAyMTkxMjAzMzY5ODI3ODMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e8122e6a9a4380672cb72eb9f7c7a9b44e9a9b357025deafd16f4491258578bc |
| hovercard-subject-tag | issue:387646665 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-gitlab/python-gitlab/653/issue_layout |
| twitter:image | https://opengraph.githubassets.com/dc7bf4eb4a8b4cd83f2ae4c5a92691590dba5e9da2d5df10fe072948c667587e/python-gitlab/python-gitlab/issues/653 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/dc7bf4eb4a8b4cd83f2ae4c5a92691590dba5e9da2d5df10fe072948c667587e/python-gitlab/python-gitlab/issues/653 |
| og:image:alt | Description of the problem, including code/CLI snippet The project.protectedbranches.create() method currently does not allow me to configure specific users push and merge rules. Is that hard to ad... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bertramn |
| hostname | github.com |
| expected-hostname | github.com |
| None | f6d9b08324bb62b2cf170b9e435da2bdc7efa5aa93e7ca70ee3162552c05329b |
| turbo-cache-control | no-preview |
| go-import | github.com/python-gitlab/python-gitlab git https://github.com/python-gitlab/python-gitlab.git |
| octolytics-dimension-user_id | 28886265 |
| octolytics-dimension-user_login | python-gitlab |
| octolytics-dimension-repository_id | 8077625 |
| octolytics-dimension-repository_nwo | python-gitlab/python-gitlab |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 8077625 |
| octolytics-dimension-repository_network_root_nwo | python-gitlab/python-gitlab |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 169d2b5c72bff9cc676084f0ac7f8ea888f15f54 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width