Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Allow users to be added to merge/push rules of protected branches #653

Copy link
Copy link
@bertramn

Description

@bertramn
Issue body actions

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 user to a protected branch.

Expected Behavior

Able to set users to be able to merge/push to the protected branch.

Actual Behavior

No option

Specifications

  • python-gitlab version: 1.6.0
  • API version you are using (v3/v4): v4
  • Gitlab server version (or gitlab.com): 11.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.