def index(): return auth.wiki(manage_permissions=True or False)

It should be straightforward. If it is not something is wrong. Feel free to 
ask questions here.

I will write some documents asap. Use trunk because I renamed a field to 
avoid conflict.



On Monday, 17 September 2012 15:26:02 UTC-5, mweissen wrote:
>
> Ok - let's try auth.wiki
> Is there any manual or description?
>
> 2012/9/17 Massimo Di Pierro <[email protected] <javascript:>>
>
>> I am not planning to support plugin_wiki any more. Except for comments 
>> and ratings everything else is in auth.wiki() and works better. I plan to 
>> revamp coe2py or cms2py to use auth.wiki()
>>
>>
>> On Monday, 17 September 2012 13:39:21 UTC-5, mweissen wrote:
>>
>>> Ok - I have found the answer myself:
>>> The word "none" does not mean "not active" - it means the *role*.
>>>
>>> But one proposal remains:
>>> In the page editor there is no checkbox after the word "Active:" - 
>>> please add it!
>>>
>>> -----------------------
>>>
>>> 2012/9/17 Martin Weissenboeck <[email protected]>
>>>
>>> I have a plugin_wiki and I want to have active pages. Let's look at the 
>>>> page "meta-menu" (but it is the same for all other pages):
>>>>
>>>> (1) A screenshot of 
>>>> http://127.0.0.1:8000/init/**plugin_wiki/index<http://127.0.0.1:8000/init/plugin_wiki/index>>
>>>>  pages
>>>> "meta-menu" is not active
>>>> System PagesCurrent Pagesmeta-menu                Meta menu      
>>>> 2012-08-06 08:36:13  public None  active [edit]
>>>> ------------------------------**------------
>>>> (2) Now 
>>>> http://127.0.0.1:8000/init/**plugin_wiki/page_edit/meta-**menu<http://127.0.0.1:8000/init/plugin_wiki/page_edit/meta-menu>
>>>> "meta-menu" is not active
>>>> There is no checkbox to make it active? Why?
>>>>
>>>>
>>>> *Page:* meta-menu *Title:* 
>>>> *Active:* None *Public:* 
>>>> [Attachments<http://127.0.0.1:8000/init/plugin_wiki/page_edit/meta-menu#>] 
>>>> [Widget 
>>>> Builder<http://127.0.0.1:8000/init/plugin_wiki/page_edit/meta-menu#>
>>>> ]
>>>> ------------------------------**------------
>>>> (3) And from the database: http://127.0.0.1:8000/init/**
>>>> appadmin/insert/db/plugin_**wiki_page<http://127.0.0.1:8000/init/appadmin/insert/db/plugin_wiki_page>
>>>> "meta-menu" seems to be active
>>>> database db <http://127.0.0.1:8000/init/appadmin/index> table 
>>>> plugin_wiki_page<http://127.0.0.1:8000/init/appadmin/select/db?query=db.plugin_wiki_page.id%3E0>record
>>>>  id 
>>>> 4 <http://127.0.0.1:8000/init/appadmin/update/db/plugin_wiki_page/4> Edit 
>>>> current record.....
>>>> Is Active: 
>>>> Summery: the database tells that this page is active: but all other 
>>>> source say the opposite. I think this page is really not active, because I 
>>>> cannot see it without a login.
>>>>
>>>> Regards, Martin
>>>>
>>>>   -- 
>>  
>>  
>>  
>>
>
>

-- 



Reply via email to