View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000141 | WackoWiki | xml | public | 2008-01-07 14:11 | 2022-10-19 15:24 |
Reporter | techtonik | Assigned To | administrator | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.2 | ||||
Target Version | 6.1.x | Fixed in Version | 6.1.x | ||
Summary | 0000141: Export doesn't work without write privilege. Fix attached. | ||||
Description | by anatoly | ||||
Steps To Reproduce | Exported homepages of Dev wiki are empty if user is not logged in: http://wackowiki.org/doc/HomePage/export.xml | ||||
Tags | No tags attached. | ||||
Attached Files | 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 = ""; | ||||
|
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”, (?) |
|
"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. |
|
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 ... |
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 => 6.1.x |
2018-08-06 14:37 | administrator | Target Version | 6.1.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 => 6.1.x |
2022-10-19 15:24 | administrator | Status | feedback => resolved |
2022-10-19 15:24 | administrator | Resolution | open => fixed |
2022-10-19 15:24 | administrator | Fixed in Version | => 6.1.x |
2022-10-19 15:24 | administrator | Steps to Reproduce Updated |