*/
public boolean checkAccess(String username, ArrayList<AccessLevel> formalAccesses) {
ArrayList<AccessLevel> receivingWidgetFormalAccesses = getFormalAccesses(username);
for (int i = 0; i < formalAccesses.size(); i++) {
AccessLevel accessLevel = formalAccesses.get(i);
if (accessLevel.getAccessLevel() > receivingWidgetFormalAccesses.get(0).getAccessLevel()) {
return false;
}
}
return true;