We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User unable to login if SimplePathPrivilegeManager.setRights() is invoked with path other then '/'. Pls help
If invoked with any path other then '/', it does not allow user to login.
privilegeManager.setRights(user1, '/public', [ 'all' ]); privilegeManager.setRights(user2, '/private', [ 'all' ]);
privilegeManager.setRights(user1, '/', [ 'all' ]); privilegeManager.setRights(user2, '/', [ 'all' ]);
Using webdav-server v2.6.2
sample app
/* disk contains following directory structure /opt/shareddata /public /private */ const userManager = new webdav.SimpleUserManager(); const user1 = userManager.addUser('user1', '111', false); const user2 = userManager.addUser('user2', '111', false); const privilegeManager = new webdav.SimplePathPrivilegeManager(); privilegeManager.setRights(user1, '/public', [ 'all' ]); privilegeManager.setRights(user2, '/private', [ 'all' ]); // privilegeManager.setRights(user1, '/', [ 'all' ]); // privilegeManager.setRights(user2, '/', [ 'all' ]); const server = new webdav.WebDAVServer({ httpAuthentication: new webdav.HTTPDigestAuthentication(userManager, 'Default realm'), privilegeManager: privilegeManager }); server.setFileSystemSync("/", new webdav.PhysicalFileSystem('/opt/shareddata)); server.start(() => console.log('READY'));
The text was updated successfully, but these errors were encountered:
No branches or pull requests
User unable to login if SimplePathPrivilegeManager.setRights() is invoked with path other then '/'. Pls help
If invoked with any path other then '/', it does not allow user to login.
If invoked with any path other then '/', it does not allow user to login.
Using webdav-server v2.6.2
sample app
The text was updated successfully, but these errors were encountered: