View Issue Details

IDProjectCategoryView StatusLast Update
0000175WackoWikipage rightspublic2009-10-13 16:05
Reporteroublinov Assigned Toadministrator  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.2 
Target Version5.0.betaFixed in Version5.0.beta 
Summary0000175: Can't change ACL's for entire cluster for some pages.
DescriptionCan't change ACL's for some page in cluster, if caption of this page (tag) consist one or more russian letter.

To correct this i change file massacl.php:
old:
   $pages = $this->LoadAll("select ".$this->pages_meta." from ".
            $this->config["table_prefix"]."pages where (supertag = '".quote($this->tag)."'".
            " OR supertag like '".quote($this->tag."/%")."')".
            " AND owner='".quote($this->GetUserName())."'".
            " and comment_on = ''");
new:
  $pages = $this->LoadAll("select ".$this->pages_meta." from ".
            $this->config["table_prefix"]."pages where (supertag = '".quote($this->supertag)."'".
            " OR supertag like '".quote($this->supertag."/%")."')".
            " AND owner='".quote($this->GetUserName())."'".
            " and comment_on = ''");

(i'm replace $this->tag to $this->supertag in query).
TagsNo tags attached.

Relationships

related to 0000172 resolvedadministrator merge acl and massacl handler 

Activities

administrator

2008-05-31 14:46

administrator   ~0000346

Last edited: 2008-05-31 14:47

supertag is like page but all lower case

there could arise a matching problem if in a cluster someone creates a page inside a cluster that differs from the "previous" name pattern

the cluster is for instance
Cluster/SubPage/firstPage
but there are also pages created like
Cluster/subPage/secondPage
cluster/subpage/thirdPaage

and we can solve this issue if we use instead the supertag, right?

administrator

2009-10-10 21:14

administrator   ~0000689

Committed with rev673, thanks.

Issue History

Date Modified Username Field Change
2008-05-30 14:21 oublinov New Issue
2008-05-30 14:21 oublinov Legacy => NEW
2008-05-31 14:46 administrator Note Added: 0000346
2008-05-31 14:47 administrator Note Edited: 0000346
2008-05-31 23:09 administrator Status new => feedback
2008-09-21 15:48 Tann San Target Version => 5.4.0
2009-10-10 21:14 administrator Note Added: 0000689
2009-10-10 21:14 administrator Assigned To => administrator
2009-10-10 21:14 administrator Resolution open => fixed
2009-10-10 21:14 administrator Fixed in Version => 5.0.0
2009-10-10 21:14 administrator Target Version 5.4.0 => 5.0.0
2009-10-10 21:15 administrator Status feedback => resolved
2009-10-10 21:15 administrator Relationship added related to 0000172
2009-10-13 15:58 administrator Target Version 5.0.0 => 5.0.beta
2009-10-13 16:05 administrator Fixed in Version 5.0.0 => 5.0.beta
2010-03-08 10:17 administrator Category Page rights => page rights