• manojmj's avatar
    Introduce policies around setting “default branch protection” in groups · 6aa77991
    manojmj authored
    This change introuduces new policies around setting
    “default branch protection” in groups.
    
    Namely:
    
    `create_group_with_default_branch_protection `:
    this permission determines whether a user can specify the value
    of `default_branch_protection` when creating a new group.
    
    `update_default_branch_protection `: this permission determines
    whether a user can update the value of `default_branch_protection`
    of a group.
    6aa77991
global_policy_spec.rb 11 KB