Forked from
PortalMEC / portalmec
623 commits behind the upstream repository.
-
Marcela Ribeiro de Oliveira authoredMarcela Ribeiro de Oliveira authored
submission_policy.rb 157 B
module SubmissionPolicy
def submit?
record if owns?
end
def submissions?
return false if user.nil?
record if user_can_curate?
end
end