I’ve setup an orthanc server in windows and trying to use explorer 2 with keycloak.
I was able to setup the connection between explorer 2 and keycloak and I can login successfully but the role permission is not working. I can still see all default permission in doctor user.
I’m not sure which config should I use and where should i put that config in the configuration folder since there’s no authorization.json or permissions.json (though I tried to create permissions.json but it is not working)
{
“roles” : {
“admin”: [“all”],
“doctor”: [“view”, “download”, “share”, “send”]
}
}
or
{
“roles” : {
“admin-role”: {
“permissions”: [“all”],
“authorized_labels”: [““]
},
“doctor-role”: {
“permissions”:[“view”, “download”, “share”, “send”],
“authorized_labels”: [””]
},
“external-role”: {
“permissions”:[“view”, “download”],
“authorized_labels”: [“external”]
}
}
}
This is the sample roles that I have.