Expand `Namespace#feature_available?` to check the `application_settings` similar to what we have for `Project#feature_available?`
I think we need to expand the Namespace#feature_available?
call to do something similar as the Project#feature_available?
The example in which this would be required is Group-level webhooks (https://gitlab.com/gitlab-org/gitlab-ee/issues/2576):
To show the Webhooks link on the Group-settings page. We need to be able to call Namespace#namespace_feature_available?(:group_webhooks)
that also falls back to the global License.feature_available?
when current_application_settings.should_check_namespace_plan?
is not enabled.
@oswaldo @nick.thomas @to1ne @DouweM
Related: https://gitlab.com/gitlab-org/gitlab-ee/issues/2466
Edited by Bob Van Landuyt