auth.wiki()

97 views
Skip to first unread message

Alex Glaros

unread,
Apr 8, 2015, 6:23:48 PM4/8/15
to web...@googlegroups.com
just looked at auth.wiki().  

Not sure if I understand well enough to ask these questions but:

  1. Should a note in documentation state that migration must be set to "True" when auth.wiki function is first added to controller?
  2. Can't get search to work.  Result is always "no records found"
  3. Seems that any logged on user automatically has edit and manager rights to all pages without being added to auth_groups: "wiki_editor" and "wiki_author"
  4. Not understanding how wiki works: if new page is created, is an automatic link to it supposed to be created on the wiki home page so users can see menu of all pages that can be visited?  I just see main index page with no references to anything else.
 Am using 2.9.11-stable+timestamp.2014.09.15.23.35.11 on windows

thanks,

Alex Glaros

Massimo Di Pierro

unread,
Apr 11, 2015, 12:02:40 AM4/11/15
to web...@googlegroups.com


On Wednesday, 8 April 2015 17:23:48 UTC-5, Alex Glaros wrote:
just looked at auth.wiki().  

Not sure if I understand well enough to ask these questions but:

  1. Should a note in documentation state that migration must be set to "True" when auth.wiki function is first added to controller?

YES 
  1. Can't get search to work.  Result is always "no records found"
Please open a ticket. That may be a bug.
 
  1. Seems that any logged on user automatically has edit and manager rights to all pages without being added to auth_groups: "wiki_editor" and "wiki_author"
No. Only if the user is also logged into the "admin" app. You probably are. 
  1. Not understanding how wiki works: if new page is created, is an automatic link to it supposed to be created on the wiki home page so users can see menu of all pages that can be visited?
No. You have to edit the wiki-menu page to add pages to the menu.

Ben Lawrence

unread,
Apr 21, 2015, 11:05:32 AM4/21/15
to web...@googlegroups.com
Hi, did you manage to get the search to work? I have the same problem on 
2.10.3-stable+timestamp.2015.04.02.21.42.07
(Running on Apache/2.4.7 (Ubuntu), Python 2.7.6)

Alex Glaros

unread,
Apr 21, 2015, 11:26:44 AM4/21/15
to web...@googlegroups.com
no, did not get it to work, but submitted bug report.  You can follow progress of bug report here:

https://github.com/web2py/web2py/issues/911

I have not gotten back to working on it but it's pretty easy for even a beginner to write their own search


Ben Lawrence

unread,
Apr 25, 2015, 11:28:10 AM4/25/15
to web...@googlegroups.com
It works now for me. All I had to do was add a tag to one of the pages. Seems search doesn't work for empty tag table.

Alex Glaros

unread,
Apr 26, 2015, 8:15:24 PM4/26/15
to web...@googlegroups.com
yes, Ben, your idea of adding tags worked for me also.  Will try to add that info to ticket.

thanks,

Alex
Reply all
Reply to author
Forward
0 new messages