Open lagoan opened 2 years ago
Pending task now:
@lagoan unfortunately, I don't think I can work on this in my last few hours with U of A...However, I think this could be a good first-time issue to assign to the new developer. I also suggest that the new developer contribute this back to the main codebase since the feature_flag_helper.rb
file and our flag feature differentiate our code from the main codebase.
Add feature flags beyond configuration values in order to control available behaviour in the sandbox environment. Initially, we will only need this to:
At this point, we can do something very simple as outlined here which can include simple logic.
In essence, we will be adding a class like
We can use simple
if
statements to block off codeWe can add different logic to provide super users
Current.user.can_super_admin?
different access in the application.