mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Merge branch 'fix/permissions' into 'master'
Fix identity server connect permission See merge request entgra/carbon-device-mgt!887
This commit is contained in:
commit
d1754b465e
@ -93,7 +93,7 @@ public class WSO2IAMSPApplicationService implements ISServiceProviderApplication
|
||||
* @return constructed error message
|
||||
*/
|
||||
private String constructErrorMessage(HttpResponse response) {
|
||||
String msg = "Error occurred while calling SP Applications API";
|
||||
String msg = "Error occurred while calling SP Applications API. Response status: " + response.getStatusLine().getStatusCode();
|
||||
if (response.getStatusLine().getStatusCode() == HttpStatus.SC_UNAUTHORIZED) {
|
||||
msg += ". Make sure provided identity Server credentials are valid";
|
||||
}
|
||||
|
||||
@ -50,6 +50,7 @@
|
||||
<Scope>perm:app:publisher:service-provider:create</Scope>
|
||||
<Scope>perm:app:publisher:service-provider:attach</Scope>
|
||||
<Scope>perm:app:publisher:service-provider:detach</Scope>
|
||||
<Scope>perm:app:publisher:service-provider:connect</Scope>
|
||||
<Scope>perm:app:publisher:view</Scope>
|
||||
<Scope>perm:app:publisher:update</Scope>
|
||||
<Scope>perm:app:store:view</Scope>
|
||||
|
||||
@ -61,6 +61,7 @@
|
||||
<Scope>perm:app:publisher:service-provider:create</Scope>
|
||||
<Scope>perm:app:publisher:service-provider:attach</Scope>
|
||||
<Scope>perm:app:publisher:service-provider:detach</Scope>
|
||||
<Scope>perm:app:publisher:service-provider:connect</Scope>
|
||||
<Scope>perm:app:publisher:view</Scope>
|
||||
<Scope>perm:app:publisher:update</Scope>
|
||||
<Scope>perm:app:store:view</Scope>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user