Add missed role key

admin-role-isssue
Rajitha Kumara 1 year ago
parent 30f7a32c55
commit a7387fda31

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

Loading…
Cancel
Save