Ticket #573 (closed Defect: fixed)
File Browser: revealing files/folder fails when not logged in
Reported by: | jri | Owned by: | jri |
---|---|---|---|
Priority: | Major | Milestone: | |
Component: | DeepaMehta Standard Distribution | Version: | 4.1.2 |
Keywords: | Cc: | dgf, Malte, JuergeN | |
Complexity: | 3 | Area: | |
Module: | deepamehta-files |
Description
Clicking on a File or Folder in the detail panel's Folder Content listing fails with 401 (Unauthorized) when not logged in.
While from the user's perspective browsing the filesystem looks like a read-only situation (and thus should be allowed for guest users), DM actually creates the File/Folder? topics on-the-fly while browsing. This is currently done via a POST request, which (in the default configuration) fails if not logged in.
This scenario is similar to creating Search topics, which from the user's perspective can be regarded as read-only situation as well. That's why we've decided searching (including creation the Search topic) is a GET request.
Note: normally search or browse actions are regarded as read-only, what is reflected by using a GET request. But due to the distinctiveness of the DM GUI things are actually *created* while searching or browsing.
Regarding the File Browser issue the consequence would be to realize the browse actions (reveal a File, reveal a Folder) as GET requests as well, despite things are actually created.
Should we do it this way?