changed logs
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@181853 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
65cb793cc1
commit
5ec98c7d48
|
@ -77,7 +77,7 @@ public class CatalogueRoleManager {
|
||||||
// root (so check into the root, the VOs and the VRES)
|
// root (so check into the root, the VOs and the VRES)
|
||||||
if(groupManager.isRootVO(currentGroupId)){
|
if(groupManager.isRootVO(currentGroupId)){
|
||||||
|
|
||||||
logger.info("The current scope is the Root Vo, so the list of organizations of the user " + username + " is " + groups);
|
logger.info("The current scope is the Root Vo, so the list of organizations of the user " + username + " has " + groups.size() + " group/s");
|
||||||
|
|
||||||
for (GCubeGroup gCubeGroup : groups) {
|
for (GCubeGroup gCubeGroup : groups) {
|
||||||
|
|
||||||
|
@ -87,6 +87,8 @@ public class CatalogueRoleManager {
|
||||||
// get the name of this group
|
// get the name of this group
|
||||||
String gCubeGroupName = gCubeGroup.getGroupName();
|
String gCubeGroupName = gCubeGroup.getGroupName();
|
||||||
|
|
||||||
|
logger.info("Cheking role of the user " + username + " in the VRE " + gCubeGroupName);
|
||||||
|
|
||||||
// get the role of the users in this group
|
// get the role of the users in this group
|
||||||
List<GCubeRole> roles = roleManager.listRolesByUserAndGroup(userid, groupManager.getGroupId(gCubeGroupName));
|
List<GCubeRole> roles = roleManager.listRolesByUserAndGroup(userid, groupManager.getGroupId(gCubeGroupName));
|
||||||
|
|
||||||
|
@ -99,6 +101,8 @@ public class CatalogueRoleManager {
|
||||||
|
|
||||||
toReturn = RolesCkanGroupOrOrg.getHigher(toReturn, correspondentRoleToCheck);
|
toReturn = RolesCkanGroupOrOrg.getHigher(toReturn, correspondentRoleToCheck);
|
||||||
|
|
||||||
|
logger.info("Found the role "+toReturn+" for " + username + " in the VRE " + gCubeGroupName);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}else if(groupManager.isVO(currentGroupId)){
|
}else if(groupManager.isVO(currentGroupId)){
|
||||||
|
|
Loading…
Reference in New Issue