3scale/issues-test — Issue #41: make the user role also accept a string
Author: HakubJozak
Created: 2012-02-10 17:17:49+00:00
State: open

user.role = "admin" is not treated the same as user.role = :admin, e.g.
User model (app/models/user/roles.rb)
def admin?
role?(:admin)
end

Tasks

https://www.pivotaltracker.com/story/show/6169615