short checkRights(short rightsNeeded, Account authuser) throws ServiceException {
short checkRights(short rightsNeeded, Account authuser, boolean asAdmin) throws ServiceException {
    short checkRights(short rightsNeeded, Account authuser) throws ServiceException {        // check to see what access has been granted on the enclosing folder        short granted = getFolder().checkRights(rightsNeeded, authuser);        // FIXME: check to see what access has been granted on the item's tags        //   granted |= getTags().getGrantedRights(rightsNeeded, authuser);        // and see if the granted rights are sufficient        return (short) (granted & rightsNeeded);    }