RailsApps/rails-stripe-membership-saas — pull request #90 by edgi (2013-10-11 02:34:47+00:00)
Title: RailsApps/rails-stripe-membership-saas#89 - ability for non-admin to make themselves admin

When non-admins are changing their role, instead of posting one of the role ids available on the page, they can post the role id of admin role - this assigns them an admin role.

Added a check not to allow non-admins to assign admin roles.