Merge pull request #3514 from pedroigor/KEYCLOAK-3674
[KEYCLOAK-3674] - Review policies dropbox options
This commit is contained in:
commit
1e8f5f1a51
4 changed files with 5 additions and 5 deletions
|
@ -45,7 +45,7 @@ public class RolePolicyProviderFactory implements PolicyProviderFactory {
|
|||
|
||||
@Override
|
||||
public String getName() {
|
||||
return "Role-Based";
|
||||
return "Role";
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -43,7 +43,7 @@ public class UserPolicyProviderFactory implements PolicyProviderFactory {
|
|||
|
||||
@Override
|
||||
public String getName() {
|
||||
return "User-Based";
|
||||
return "User";
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -30,7 +30,7 @@ public class DroolsPolicyProviderFactory implements PolicyProviderFactory {
|
|||
|
||||
@Override
|
||||
public String getName() {
|
||||
return "Drools";
|
||||
return "Rule";
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue