Skip to content

Commit

Permalink
#3193 Prevent users cloning models across projects
Browse files Browse the repository at this point in the history
  • Loading branch information
chenzhx committed Jan 25, 2018
1 parent c49e263 commit b66f3da
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions webapp/app/partials/models/model_clone.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,7 @@ <h4 tooltip="submit">MODEL CLONE</h4>
<div class="form-group">
<b>Target Project is:</b>
<br/>
<select ng-required="projectModel.projects.length" chosen ng-model="targetObj.targetProject"
ng-init="newAccess.permission=permissions.READ.value;"
ng-options="project.name as project.name for project in projectModel.projects "
style="width: 100% !important;"
data-placeholder="select a project"
class="chosen-select">
<option value=""></option>
</select>
{{targetObj.targetProject}}
</div>
</div>
</div>
Expand Down

0 comments on commit b66f3da

Please sign in to comment.