Improve performance bar permission checks
Checks the cookie first because it is a cheaper check. This also renames enabled_for_user? to allowed_for_user? since that is more accurate.
Showing
Please register or sign in to comment
Checks the cookie first because it is a cheaper check. This also renames enabled_for_user? to allowed_for_user? since that is more accurate.