ability.rb revision 7b025f9d9726413eb3f50ca2b39826e7eed816fb
# Define abilities for the passed in user here.
if user.admin?
can { true }
elsif user.id
# Ontologies
end
# Team permissions
end
end
# See the wiki for details: https://github.com/ryanb/cancan/wiki/Defining-Abilities
end
end