userObj.addAuthorizedResource(resourceID, action);
}else{
log.info("User "+ action + " realted to capability is not found");
}
}else{
Group groupObj = groupManager.getGroup(actor);
if(groupObj != null){
groupObj.addAuthorizedResource(resourceID, action);
}else{
log.info("Group "+ action + " realted to capability is not found");
}
}
} catch (SQLException e) {