* @return boolean true if the user has sufficient privilege.
*/
public boolean checkPermission(JetspeedUser user, Entry entry, String action, String owner)
{
String portletName = entry.getParent();
RegistryEntry regEntry = (RegistryEntry)Registry.getEntry(Registry.PORTLET, portletName);
if (regEntry==null)
{
return checkDefaultPermission(user, action);
}
return checkPermission(user, regEntry, action);