cemerick/friend — pull request #55 by lynaghk (2013-03-25 23:34:58+00:00)
Title: Dynamic user roles

Allow :roles to be a function, which will be executed with no args and assumed to return a collection of roles each time user authorizations are checked.

This allows, e.g., promoting a user to a new role without forcing a logout+login.

Closes #21.