(window.webpackJsonp=window.webpackJsonp||[]).push([[289],{383:function(module,exports){module.exports=function(obj){obj||(obj={});var __t,__p="";with(obj)__p+='<div class="modal-header">\n    <h3 class="modal-title">{{\'security.free.access.config.title\' | translate}}</h3>\n    <div>{{\'security.free.access.config.settings\' | translate}}</div>\n</div>\n<div class="modal-body">\n    <div class="card" id="user-settings">\n        <div class="card-block">\n            <h3>{{\'security.application.settings\' | translate}}</h3>\n            <label class="mr-1"><input type="checkbox" ng-model="appSettings.DEFAULT_SAMEAS" id="defaultSameAs" checked="appSettings.DEFAULT_SAMEAS" > {{\'security.default.same.as\' | translate}}</label>\n            <label class="mr-1"><input type="checkbox" ng-model="appSettings.DEFAULT_INFERENCE" id="defaultInference" checked="appSettings.DEFAULT_INFERENCE" > {{\'security.default.inference\' | translate}}</label>\n            <label><input type="checkbox" ng-model="appSettings.EXECUTE_COUNT" id="defaultCount" checked="appSettings.EXECUTE_COUNT"> {{\'security.count.all.results\' | translate}}</label>\n        </div>\n    </div>\n    <div class="card">\n        <div class="card-block repo-fields">\n            <h3>{{\'security.read.write.access\' | translate}}</h3>\n            <div class="row">\n                <p ng-show="repositoryCheckError" class="authoritiesError alert alert-danger col-xs-12">\n                    {{\'security.user.rights\' | translate}}\n                </p>\n                <p ng-hide="hasActiveLocation()" class="authoritiesError alert alert-danger col-xs-12">{{\'security.no.active.location\' | translate}}\n                    <a href="repository" ng-if="isAdmin()">{{\'activate.location\' | translate}}</a>\n                </p>\n            </div>\n            <div class="row" style="margin-top: 0">\n                <h5 class="boldless col-xs-10">{{\'security.repository.title\' | translate}}</h5>\n                <span class="fa fa-eye fa-1andAhalfx col-xs-1" gdb-tooltip="{{\'security.tooltip.read\' | translate}}"\n                      tooltip-placement="top" style="margin-top: 10px"></span>\n                <span class="fa fa-pencil fa-1andAhalfx col-xs-1" gdb-tooltip="{{\'security.tooltip.write\' | translate}}"\n                      tooltip-placement="top" style="margin-top: 10px"></span>\n            </div>\n            <div id="access-user-repos access-user-rights" class="row"\n                 ng-repeat="repository in getRepositories() | orderBy: [\'id\', \'location\']">\n                <p class="col-xs-10">{{repository.id}}<small> &middot; {{repository.location ? repository.location : \'Local\'}}</small></p>\n                <label class="col-xs-1">\n                    <input class="animated read" type="checkbox"\n                           ng-model="grantedAuthorities.READ_REPO[createUniqueKey(repository)]"\n                           ng-checked="grantedAuthorities.READ_REPO[createUniqueKey(repository)] || grantedAuthorities.WRITE_REPO[createUniqueKey(repository)]"\n                           ng-disabled="grantedAuthorities.WRITE_REPO[createUniqueKey(repository)]"\n                           ng-class="grantedAuthorities.WRITE_REPO[createUniqueKey(repository)] ? \'bounceIn\' : \'\'"\n                           ng-click="setGrantedAuthorities()">\n                </label>\n                <label class="col-xs-1">\n                    <input class="animated write" type="checkbox"\n                           ng-model="grantedAuthorities.WRITE_REPO[createUniqueKey(repository)]"\n                           ng-checked="grantedAuthorities.WRITE_REPO[createUniqueKey(repository)]"\n                           ng-click="setGrantedAuthorities()">\n                </label>\n            </div>\n        </div>\n    </div>\n</div>\n<div class="modal-footer">\n    <button type="button" class="btn btn-default" ng-click="cancel()">{{\'common.cancel.btn\' | translate}}</button>\n    <button class="btn btn-primary" ng-click="ok()">{{\'common.ok.btn\' | translate}}</button>\n</div>\n';return __p}}}]);