class CMS::Permission < ActiveRecord::Base
  attr_accessible :group, :account

  self.table_name = :cms_permissions

  validates :name, length: { maximum: 255 }

  belongs_to :group, :class_name => 'CMS::Group'
  belongs_to :account

end
