Merge pull request #3514 from pedroigor/KEYCLOAK-3674

[KEYCLOAK-3674] - Review policies dropbox options
This commit is contained in:
Marek Posolda 2016-11-18 08:56:56 +01:00 committed by GitHub
commit 1e8f5f1a51
4 changed files with 5 additions and 5 deletions

View file

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

View file

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

View file

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

View file

@ -23,14 +23,14 @@
</div>
<div class="input-group">
<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>
</select>
</div>
</div>
<div class="pull-right">
<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);">
<option value="" disabled selected>{{:: 'authz-create-policy' | translate}}...</option>
</select>