Module: Accessly

Defined in:
lib/accessly.rb,
lib/accessly/base.rb,
lib/accessly/query.rb,
lib/accessly/version.rb,
lib/accessly/policy/base.rb,
lib/accessly/query_builder.rb,
lib/accessly/permission/grant.rb,
lib/accessly/permission/revoke.rb,
lib/accessly/permitted_actions/base.rb,
lib/accessly/models/permitted_action.rb,
lib/accessly/permitted_actions/query.rb,
lib/accessly/models/permitted_action_on_object.rb,
lib/accessly/permitted_actions/on_object_query.rb,
lib/generators/accessly/install/install_generator.rb

Defined Under Namespace

Modules: Generators, Permission, PermittedActions, Policy Classes: Base, PermittedAction, PermittedActionOnObject, Query, QueryBuilder

Constant Summary collapse

GrantError =
Class.new(StandardError)
RevokeError =
Class.new(StandardError)
VERSION =
"1.1.0"

Class Method Summary collapse

Class Method Details

.table_name_prefixObject

Accessly’s tables are prefixed with accessly_ to prevent any naming conflicts with other tables in the database.



21
22
23
# File 'lib/accessly.rb', line 21

def self.table_name_prefix
  "accessly_"
end