public boolean allowAccess(String user) {

        try {
            return m_cms.getPermissions(m_root, user).requiresViewPermission();
        } catch (CmsException e) {
            LOG.error(e.getLocalizedMessage(), e);
            return true;
        }
    }
public boolean allowAccess ( String user ) { try { return m_cms . getPermissions ( m_root , user ) . requiresViewPermission ( ) ; } catch ( CmsException e ) { LOG . error ( e . getLocalizedMessage ( ) , e ) ; return true ; } }
Checks if a user may access this repository.<p>

@param user the name of the user

@return true if the user may access the repository