Package org.olat.core.util.servlets

Examples of org.olat.core.util.servlets.VFSDirContext.canDelete()


        // Check if operation allowed by OLAT VFS security callback
        DirContext resources = getResources(req);
        VFSDirContext vfsContext = (VFSDirContext) resources;
        String path = getRelativePath(req);
        if (!vfsContext.canDelete(path)) {
          resp.sendError(WebdavStatus.SC_FORBIDDEN);
          return;         
        }

        if (isLocked(req)) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.