Add missed role key

revert
Rajitha Kumara 1 year ago
parent 30f7a32c55
commit a7387fda31

@ -461,6 +461,7 @@ public class APIPublisherServiceImpl implements APIPublisherService {
List<String> bindings = new ArrayList<>( List<String> bindings = new ArrayList<>(
Arrays.asList(scopeMapping.getDefaultRoles().split(","))); Arrays.asList(scopeMapping.getDefaultRoles().split(",")));
bindings.add(ADMIN_ROLE_KEY);
scope.setName(scopeMapping.getKey()); scope.setName(scopeMapping.getKey());
scope.setDescription(scopeMapping.getName()); scope.setDescription(scopeMapping.getName());
scope.setDisplayName(scopeMapping.getName()); scope.setDisplayName(scopeMapping.getName());

Loading…
Cancel
Save