[pmwiki-users]  CondAuth() enables publish authorization level?
    H. Fox 
    haganfox at users.sourceforge.net
       
    Sun Jul  1 20:43:39 CDT 2007
    
    
  
In PmWiki 2.2.0-beta57 with $EnableDrafts enabled, using the
CondAuth() function to test for edit authorization disallows
publishing.  Put another way, the second line here
   $EnableDrafts = 1;
   if (! CondAuth($pagename, 'edit')) { /* comment */ }
seems to have the unintended effect of
   $EnablePublishAttr = 1;
Submitted as PITS issue #00946.
Hagan
    
    
More information about the pmwiki-users
mailing list