Skip to content

Commit

Permalink
#964 fix annex C export permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
groinder committed Oct 11, 2018
1 parent 2f63406 commit 0aa4544
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions polymer/src/pages/app/ip-reporting/pd/pd-report.html
Expand Up @@ -408,9 +408,8 @@

_canExport: function (report, mode, permissions) {
switch (true) {
case report.status === 'Sub':
case report.status === 'Sub' && !permissions.exportSubmittedProgressReport:
case mode === 'edit':
case !permissions.exportSubmittedProgressReport:
return false;

default:
Expand Down

0 comments on commit 0aa4544

Please sign in to comment.