Consider adding ::Namespace#feature_available?
We have an EE::Namespace#feature_available?
method. This method:
- Checks if a matching feature flag is disabled.
- Looks at the license for the namespace (or instance) to see if the feature is in a particular tier.
I wonder if we should create this in our common code:
class Namespace
def feature_available?(feature)
false
end
end
That would allow us to (say) always treat epics as 'disabled' in Core using the same checks we'd use elsewhere. I don't think we should do this all the time, but it seems like it would come in useful some of the time.