[KEYCLOAK-3674] - Review policies dropbox options

This commit is contained in:
Pedro Igor Craveiro e Silva 2016-11-17 20:43:32 -02:00
parent 5e496fb9bb
commit cc9131441e
4 changed files with 5 additions and 5 deletions

View file

@ -45,7 +45,7 @@ public class RolePolicyProviderFactory implements PolicyProviderFactory {
@Override @Override
public String getName() { public String getName() {
return "Role-Based"; return "Role";
} }
@Override @Override

View file

@ -43,7 +43,7 @@ public class UserPolicyProviderFactory implements PolicyProviderFactory {
@Override @Override
public String getName() { public String getName() {
return "User-Based"; return "User";
} }
@Override @Override

View file

@ -30,7 +30,7 @@ public class DroolsPolicyProviderFactory implements PolicyProviderFactory {
@Override @Override
public String getName() { public String getName() {
return "Drools"; return "Rule";
} }
@Override @Override

View file

@ -23,14 +23,14 @@
</div> </div>
<div class="input-group"> <div class="input-group">
<select class="form-control search" data-ng-model="query.type" <select class="form-control search" data-ng-model="query.type"
ng-options="p.type as p.name group by p.group for p in policyProviders track by p.type" data-ng-change="firstPage()"> ng-options="p.type as p.name for p in policyProviders track by p.type" data-ng-change="firstPage()">
<option value="" selected ng-click="query.type = ''">{{:: 'authz-all-types' | translate}}</option> <option value="" selected ng-click="query.type = ''">{{:: 'authz-all-types' | translate}}</option>
</select> </select>
</div> </div>
</div> </div>
<div class="pull-right"> <div class="pull-right">
<select class="form-control" ng-model="policyType" <select class="form-control" ng-model="policyType"
ng-options="p.name group by p.group for p in policyProviders track by p.type" ng-options="p.name for p in policyProviders track by p.type"
data-ng-change="addPolicy(policyType);"> data-ng-change="addPolicy(policyType);">
<option value="" disabled selected>{{:: 'authz-create-policy' | translate}}...</option> <option value="" disabled selected>{{:: 'authz-create-policy' | translate}}...</option>
</select> </select>