Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: daa0348052
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (18 sloc) 0.512 kb
require 'active_support/concern'
require 'active_support/inflector'
require "allowy/version"
require "allowy/access_control"
require "allowy/registry"
require "allowy/controller_extensions"
module Allowy
class UndefinedAccessControl < StandardError; end
class UndefinedAction < StandardError; end
class AccessDenied < StandardError
attr_reader :action, :subject
def initialize(message, action, subject)
@message = message
@action = action
@subject = subject
end
end
end
Jump to Line
Something went wrong with that request. Please try again.