diff --git a/config/feature_flags/development/npm_group_level_endpoints.yml b/config/feature_flags/development/npm_group_level_endpoints.yml deleted file mode 100644 index 13ebade2cecfa404db20b5c958bf3394fbfb0e13..0000000000000000000000000000000000000000 --- a/config/feature_flags/development/npm_group_level_endpoints.yml +++ /dev/null @@ -1,8 +0,0 @@ ---- -name: npm_group_level_endpoints -introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/119073 -rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/409476 -milestone: '16.0' -type: development -group: group::package registry -default_enabled: false diff --git a/doc/api/packages/npm.md b/doc/api/packages/npm.md index 664737e317a3e12fd8095a96793df7bf1a18888d..6f4d8446dbfc1838ea732c6d3ae080ed3fbd3d35 100644 --- a/doc/api/packages/npm.md +++ b/doc/api/packages/npm.md @@ -150,11 +150,8 @@ The examples in this document all use the project-level prefix. ### Group-level -> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/299834) in GitLab 16.0 [with a flag](../../administration/feature_flags.md) named `npm_group_level_endpoints`. Disabled by default. - -FLAG: -On self-managed GitLab, by default this feature is not available. To make it available, ask an administrator to [enable the feature flag](../../administration/feature_flags.md) named `npm_group_level_endpoints`. -The feature is not ready for production use. +> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/299834) in GitLab 16.0 [with a flag](../../administration/feature_flags.md) named `npm_group_level_endpoints`. Disabled by default. +> - [Generally available](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/121837) in GitLab 16.1. Feature flag `npm_group_level_endpoints` removed. ```plaintext /groups/:id/-/packages/npm` diff --git a/doc/user/packages/npm_registry/index.md b/doc/user/packages/npm_registry/index.md index 33ae73dddc27f93cb72d29550dabeed7f921cb32..0fe2b39a5911cb2b29b365258ad9984e36ce16a5 100644 --- a/doc/user/packages/npm_registry/index.md +++ b/doc/user/packages/npm_registry/index.md @@ -195,11 +195,8 @@ To install a package from the instance level, the package must have been publish ### Install from the group level -> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/299834) in GitLab 16.0 [with a flag](../../../administration/feature_flags.md) named `npm_group_level_endpoints`. Disabled by default. - -FLAG: -On self-managed GitLab, by default this feature is not available. To make it available, ask an administrator to [enable the feature flag](../../../administration/feature_flags.md) named `npm_group_level_endpoints`. -The feature is not ready for production use. +> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/299834) in GitLab 16.0 [with a flag](../../../administration/feature_flags.md) named `npm_group_level_endpoints`. Disabled by default. +> - [Generally available](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/121837) in GitLab 16.1. Feature flag `npm_group_level_endpoints` removed. 1. [Authenticate to the Package Registry](#authenticate-to-the-package-registry). diff --git a/lib/api/npm_group_packages.rb b/lib/api/npm_group_packages.rb index 3a121677bcb7d2da7ec6c9b39463ebfaa9c29be6..1aa3135b186e3735e7bc13767d09aa7ce009f782 100644 --- a/lib/api/npm_group_packages.rb +++ b/lib/api/npm_group_packages.rb @@ -13,10 +13,6 @@ def endpoint_scope end end - after_validation do - not_found! unless Feature.enabled?(:npm_group_level_endpoints, group) - end - params do requires :id, types: [String, Integer], desc: 'The ID or URL-encoded path of the group' end