ability.rb revision c089c2e01fd049de4c25af718af1a26b8846c890
# 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