joystick
joystick copied to clipboard
Feature flags
This is easy enough to add and fairly lightweight. As part of the users data model, we should add support for an array like feature_flags with strings pointing to feature names.
At the app level, you could have a has_feature() method in both @joystick.js/ui and @joystick.js/node that takes the string in and returns a boolean. It may even be smart to just do this on the server as client-only could technically be overridden. Not a terrible risk but hypothetically possible.
This should be tightly integrated into Push. You can manage flags in your deployment's dashboard and control which users have access to which features.