Forum OpenACS Q&A: Re: ACS Categories

Collapse
6: Re: ACS Categories (response to 4)
Posted by Denis Barut on
Hi,

I add this line at the end of the master.tcl in cadmin/ :


set form_vars [export_ns_set_vars form {locale form:mode form:id __confirmed_p __refreshing_p formbutton:ok} [ad_conn form]]

and it solve the problem of : can't read "form_vars": no such variable

I have another question about the permissions in xowiki.
We need to let people add new articles and allow them edit only the one they created.

Is that possible with the standard permissions/policies of xowiki ?

Thank for your answer.

regards
Denis

Collapse
7: Re: ACS Categories (response to 6)
Posted by Gustaf Neumann on
Concerning policies: you have to create your own policy, where one can give certain rights to the "creator". If you want to allow just the creator to edit an ::xowiki::Page, use

    Class Page -array set require_permission {
      ...
      edit               creator
      ...
    }
The newly created policy (e.g. policy6) should be loaded like the other policies and should be activated by the xowiki package parameter.