Skip to content

Commit

Permalink
Merge pull request #9 from impactoss/guest-report-154
Browse files Browse the repository at this point in the history
update report create policy impactoss#154
  • Loading branch information
tmfrnz authored Sep 14, 2017
2 parents f87500f + 292e25d commit e362cea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/policies/progress_report_policy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def permitted_attributes
end

def create?
true # super || (@user.role?('contributor') && @record.manager == @user)
@user # super || (@user.role?('contributor') && @record.manager == @user)
end

def update?
Expand Down

0 comments on commit e362cea

Please sign in to comment.