Closed geoffroh closed 9 years ago
snapsecret_authorisation_setting
is used:
an envar is always passed as a string, but code expects a symbol.
Either the setting has to be converted to_sym at some point, or code needs to expect a string.:limited
mode, when I’m not authorised to send a secret (i.e. not to the authorised_domain), there need to be a helpful error or flash message when we render the new view.Merged in develop, renamed all the things to topsekrit and general fix ups in the code.
Removes the old authorisation settings (snapsecret_domains_allowed_to_create_secrets & snapsecret_domains_allowed_to_receive_secrets), replaces with two more that are a bit more flexible (snapsecret_authorisation_setting & snapsecret_authorised_domain). An explanation of how the settings work is in the config/initializer/snapsecret.rb file.