Skip to content
This repository has been archived by the owner on Jan 7, 2020. It is now read-only.

Commit

Permalink
Merge pull request #66 from asanchezr/EPIC-925
Browse files Browse the repository at this point in the history
EPIC-925 Add "project-epd" role to the classifying list
  • Loading branch information
marklise authored Apr 5, 2017
2 parents daf2a09 + 5c9c84b commit 86cf8bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/project-comments/client/views/period-edit.html
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ <h1><span ng-show="project.name">Add/Edit Comment Period</h1>
x-context="project"
x-current="period.classificationRoles"
x-public="false"
x-allowed-roles="'assessment-lead,assessment-team,proponent-lead,proponent-team'"><span class="glyphicon glyphicon-pencil"></span><span>Edit Roles</span>
x-allowed-roles="'assessment-lead,assessment-team,project-epd,proponent-lead,proponent-team'"><span class="glyphicon glyphicon-pencil"></span><span>Edit Roles</span>
</a>
</div>
<ul class="list-group">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ module.exports = DBModel.extend ({

var defaultWriteDeleteRoles = ['assessment-lead', 'assessment-team', 'project-epd', 'project-system-admin']; // this is what is in the _defaults table... retain those...
var allowedVettingRoles = ['assessment-lead', 'assessment-team', 'project-epd'];
var allowedClassificationRoles = ['assessment-lead', 'assessment-team', 'proponent-lead', 'proponent-team'];
var allowedClassificationRoles = ['assessment-lead', 'assessment-team', 'project-epd', 'proponent-lead', 'proponent-team'];

period.vettingRoles = _.intersection(period.vettingRoles, allowedVettingRoles);
period.classificationRoles = _.intersection(period.classificationRoles, allowedClassificationRoles);
Expand Down

0 comments on commit 86cf8bc

Please sign in to comment.