View Issue Details

IDProjectCategoryView StatusLast Update
0000141WackoWikixmlpublic2019-02-14 12:04
ReportertechtonikAssigned Toadministrator 
PrioritynormalSeveritymajorReproducibilityalways
Status feedbackResolutionopen 
Product Version4.2 
Target Version5.6.xFixed in Version 
Summary0000141: Export doesn't work without write privilege. Fix attached.
Descriptionby anatoly
Steps To ReproduceExported homepages of Dev wiki are empty if user is not logged in:
http://wackowiki.org/HomePage/export.xml
TagsNo tags attached.

Activities

2008-01-07 14:11

 

export.xml.php.patch.txt (521 bytes)
Index: handlers/page/export.xml.php
===================================================================
--- handlers/page/export.xml.php	(revision 402)
+++ handlers/page/export.xml.php	(working copy)
@@ -22,7 +22,7 @@
    foreach ($pages as $num=>$page)
    {
     // check ACLS
-    if (!$this->HasAccess("write", $page["tag"])) continue;
+    if (!$this->HasAccess("read", $page["tag"])) continue;
     // output page
     $tag = $page["tag"];
     if ($numOfSlashes == substr_count($tag, "/")) $tag = "";

administrator

2008-08-20 17:53

administrator   ~0000476

Last edited: 2008-08-23 13:53

this behavior is intented unlike in other wikis, pages can contain in raw text content shown dependent on the users access rights

so I guess this is more a feature than a bug

but we can introduce an option which overrides the recent one similar to “rename_globalacl” => “Admins”, (?)

techtonik

2008-08-24 17:37

updater   ~0000481

"export" is a functionality unrelated to write or privileges. Why do one need write privilege just to monitor some issue? Export is convenient to connect tracker to GUI interfaces such as Mylyn to monitor tickets in familiar workspace.

administrator

2008-08-28 00:24

administrator   ~0000483

Last edited: 2008-10-23 15:34

recently I worked on the xml issue again and it raises much more questions
export cluster versus single page etc. for instance
more of my new insights later ...

Issue History

Date Modified Username Field Change
2008-01-07 14:11 administrator New Issue
2008-01-07 14:11 administrator File Added: export.xml.php.patch.txt
2008-01-07 14:11 administrator Legacy => NEW
2008-01-07 14:57 administrator Reporter administrator => techtonik
2008-01-07 14:57 administrator Description Updated
2008-01-23 05:15 techtonik Severity feature => major
2008-01-23 05:15 techtonik Projection none => minor fix
2008-01-23 05:15 techtonik Category Actions => RSS
2008-01-23 05:15 techtonik ETA none => < 1 day
2008-01-23 05:15 techtonik Steps to Reproduce Updated
2008-01-23 05:16 techtonik Reproducibility have not tried => always
2008-01-23 05:16 techtonik Summary Export doesn't work if you doesn't have write privileges. Fix attached. => Export doesn't work without write privilege. Fix attached.
2008-08-20 17:53 administrator Note Added: 0000476
2008-08-20 17:53 administrator Category RSS => XML
2008-08-23 13:48 administrator Steps to Reproduce Updated
2008-08-23 13:53 administrator Note Edited: 0000476
2008-08-24 17:37 techtonik Note Added: 0000481
2008-08-27 00:56 administrator Status new => feedback
2008-08-28 00:24 administrator Note Added: 0000483
2008-08-28 00:24 administrator Note Edited: 0000483
2008-10-23 15:34 administrator Note Edited: 0000483
2009-03-23 17:17 administrator Assigned To => administrator
2009-03-23 17:17 administrator Target Version => 5.0.0
2010-03-08 10:24 administrator Category XML => xml
2012-04-22 17:04 administrator Target Version 5.0.0 => 5.4.0
2014-03-21 14:57 administrator Target Version 5.4.0 => 5.5.0
2015-02-19 19:29 administrator Target Version 5.5.0 => 5.6.x
2018-08-06 14:37 administrator Target Version 5.6.x => 5.5.7
2019-01-14 14:21 administrator Target Version 5.5.7 => 5.5.8
2019-02-14 12:04 administrator Target Version 5.5.8 => 5.6.x