Object ::xowiki::mode::admin (public)

 ::xowiki::Mode ::xowiki::mode::admin[i]

Defined in packages/xowiki/tcl/xowiki-mode-procs.tcl

Sample admin mode handler object to toggle "admin" mode on and off.

Testcases:
No testcase defined.
Source code:
    :public object method default {} {
      # Admins are per default in admin-mode
      return [::xo::cc permission  -object_id [xo::cc package_id]  -privilege admin  -party_id [xo::cc user_id]]
    }
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: