Closed wende closed 8 years ago
Hey @wende
Guardian used to do this. It's been updated to read the permissions at runtime now rather than compile time. Would gladly take a PR that updates to the latest version of guardian.
I've updated guardian on the main (ueberauth-guardian) branch
Guardian.Permissions
module reads the permissions from the config file during compilation time instead of runtime. Because of that changing theconfig.exs
file has no effect post deps compilation, and do change config you need to clear the_deps
folder, which shouldn't be the desired behaviour