/** * @see org.opencms.workplace.CmsWorkplace#initWorkplaceRequestValues(org.opencms.workplace.CmsWorkplaceSettings, javax.servlet.http.HttpServletRequest) */ @Override protected void initWorkplaceRequestValues(CmsWorkplaceSettings settings, HttpServletRequest request) { // fill the parameter values in the get/set methods fillParamValues(settings, request); if (getDialogRealUri().endsWith("editor.jsp")) { // check the required permissions to edit the resource only in the main frame if (!checkResourcePermissions(CmsPermissionSet.ACCESS_WRITE, false)) { // not write permissions in the folder, close editor try { actionClose(); } catch (Exception e) { // should usually never happen if (LOG.isInfoEnabled()) { LOG.info(e); } } } } } }
/** * @see org.opencms.workplace.CmsWorkplace#initWorkplaceRequestValues(org.opencms.workplace.CmsWorkplaceSettings, javax.servlet.http.HttpServletRequest) */ @Override protected void initWorkplaceRequestValues(CmsWorkplaceSettings settings, HttpServletRequest request) { // fill the parameter values in the get/set methods fillParamValues(settings, request); if (getDialogRealUri().endsWith("editor.jsp")) { // check the required permissions to edit the resource only in the main frame if (!checkResourcePermissions(CmsPermissionSet.ACCESS_WRITE, false)) { // not write permissions in the folder, close editor try { actionClose(); } catch (Exception e) { // should usually never happen if (LOG.isInfoEnabled()) { LOG.info(e); } } } } } }