Files
grecia/app/models/abilities/everyone.rb
kikito 82af488ce3 Splits ability.rb and specs into several smaller files
I'm doing this in preparation for the "Manager" ability, which will
require even more refactors of the abilities (for example,
manager can not modify their own account)
2015-09-28 13:51:42 +02:00

11 lines
156 B
Ruby

module Abilities
class Everyone
include CanCan::Ability
def initialize(user)
can :read, Debate
can :read, Proposal
end
end
end