WebDAV: Authentification failed - read-only permission
Posted: Thu Jan 15, 2015 4:30 pm
Hello,
in our project we use a WebDAV resource (eXist server 2.0). Most users
have enhanced permissions to edit files in our database. We also created
a guest user with limited permissions ("r--" for the xml file and for the
directory containing the xml files: "r-x"). It seems that oxygen doesn't
accept the user data correctly when the guest user with read-only
permission tries to open a file in the database.
If the guest user tries to open a file a dialog box appears, the user has
to enter user data but the program doesn't accept the user data. if I
cancel the registration dialog, the following warning message appears:
"Problem while trying to acquire lock:
401 Unauthorized for: http://webdav.filepath.filename.xml
If the current lock expires during editing you could overwrite changes
made by the current lock owner. It is strongly recommended to cancel
the open operation."
If I ignore the warning and click "continue", the file opens correctly
in read-only modus. In the end, the file opens correctly, but the procedure
isn't ideal. Maybe, a guest user gets the impression that there is something wrong.
If the guest user logs on eXist admin client and tries to open a file,
everything works fine and there is only the message: "Resource cannot
be locked. Opening read-only".
This might be a rather specific question. Maybe you have some hints?
Best regards,
Franziska
in our project we use a WebDAV resource (eXist server 2.0). Most users
have enhanced permissions to edit files in our database. We also created
a guest user with limited permissions ("r--" for the xml file and for the
directory containing the xml files: "r-x"). It seems that oxygen doesn't
accept the user data correctly when the guest user with read-only
permission tries to open a file in the database.
If the guest user tries to open a file a dialog box appears, the user has
to enter user data but the program doesn't accept the user data. if I
cancel the registration dialog, the following warning message appears:
"Problem while trying to acquire lock:
401 Unauthorized for: http://webdav.filepath.filename.xml
If the current lock expires during editing you could overwrite changes
made by the current lock owner. It is strongly recommended to cancel
the open operation."
If I ignore the warning and click "continue", the file opens correctly
in read-only modus. In the end, the file opens correctly, but the procedure
isn't ideal. Maybe, a guest user gets the impression that there is something wrong.
If the guest user logs on eXist admin client and tries to open a file,
everything works fine and there is only the message: "Resource cannot
be locked. Opening read-only".
This might be a rather specific question. Maybe you have some hints?
Best regards,
Franziska