Loading
Remove custom_roles_for_protected_branches feature flag
What does this MR do and why?
Removes the custom_roles_for_protected_branches feature flag, which has been fully rolled out. This keeps only the enabled codepath by:
- Deleting
ee/config/feature_flags/wip/custom_roles_for_protected_branches.yml - Removing the
custom_roles_for_protected_branches_enabled?helper methods fromEE::ProtectedBranchAccessandEE::Groups::Settings::RepositoryController, inlining the license check (group.licensed_feature_available?(:custom_roles)) directly - Removing the feature flag check from
EE::API::Entities::ProtectedRefAccessandEE::Projects::Settings::BranchRulesHelper - Removing all
stub_feature_flags(custom_roles_for_protected_branches: ...)calls and their surrounding disabled-state context blocks from specs - Updating API docs version history entries to drop the feature flag note
References
- Rollout issue: [FF] `custom_roles_for_protected_branches` -- A... (#594891)
Edited by Joe Woodward