Sha256: cb7925c379e322e5b19a9b119a13c885933d8c5a05488e6c9dd9c701815cdab0

Contents?: true

Size: 274 Bytes

Versions: 11

Compression:

Stored size: 274 Bytes

Contents

module Cms
  class GroupPermission < ActiveRecord::Base

    extend DefaultAccessible

    belongs_to :group, :class_name => 'Cms::Group'
    belongs_to :permission, :class_name => 'Cms::Permission'

    validates_uniqueness_of :permission_id, :scope => :group_id

  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
browsercms-artirix-4.0.4 app/models/cms/group_permission.rb
browsercms-artirix-4.0.3.3 app/models/cms/group_permission.rb
browsercms-artirix-4.0.3.2 app/models/cms/group_permission.rb
browsercms-artirix-4.0.3.1 app/models/cms/group_permission.rb
browsercms-artirix-4.0.3 app/models/cms/group_permission.rb
browsercms-artirix-4.0.2 app/models/cms/group_permission.rb
browsercms-artirix-4.0.1.1 app/models/cms/group_permission.rb
browsercms-artirix-4.0.0.rc1.art4 app/models/cms/group_permission.rb
browsercms-4.0.0.rc1 app/models/cms/group_permission.rb
browsercms-4.0.0.beta app/models/cms/group_permission.rb
browsercms-4.0.0.alpha app/models/cms/group_permission.rb