Differences between revisions 1 and 2
Revision 1 as of 2005-03-22 05:50:46
Size: 837
Editor: anonymous
Comment: missing edit-log entry for this revision
Revision 2 as of 2009-09-20 23:25:44
Size: 837
Editor: localhost
Comment: converted to 1.6 markup
No differences found!

SecurityPolicy is a config option that allows wiki admins to dynamically enable or disable certain key actions in a MoinMoin wiki, most notably editing and deleting content.

Mechanics

Security restrictions in a MoinMoin wiki work by the interface defined in the MoinMoin.security module. The Permissions class implements the basic interface for user permissions and system policy. If you want to define your own policy, inherit from that base class, so that when new permissions are defined, you get the defaults.

Then either assign your new class to SecurityPolicy in moin_config (and I mean the class, not an instance of it), or define your class directly in moin_config and name it SecurityPolicy.

Samples

For samples on using this mechanism, see MoinMoin:SecurityPolicy.

HelpOnConfiguration/SecurityPolicy (last edited 2009-09-20 23:25:44 by localhost)