Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Rubysource Authority-2

View gist:0f9d6cb90948117b47fe
1 2 3 4 5
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
Something went wrong with that request. Please try again.