Create a gist now

Instantly share code, notes, and snippets.

Rubysource Authority-2
class AdminAuthorizer < Authority::Authorizer
def self.creatable_by?(user)
user.is_admin?
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment