public boolean hasUserPermissions(User user, List<String> actions) {
try {
// look for user in website's permissions
UserManager umgr = WebloggerFactory.getWeblogger().getUserManager();
WeblogPermission userPerms = new WeblogPermission(this, user, actions);
return umgr.checkPermission(userPerms, user);
} catch (WebloggerException ex) {
// something is going seriously wrong, not much we can do here
log.error("ERROR checking user permssion", ex);
}