> HelpOnConfiguration/SecurityPolicy

The following 48 words could not be found in the dictionary of 7206 words (including 7206 LocalSpellingWords) and are highlighted below:

actions   admins   allows   assign   basic   certain   class   content   defaults   define   defined   deleting   directly   disable   dynamically   either   get   implements   inherit   instance   interface   key   mean   Mechanics   mechanism   module   most   new   not   notably   option   or   own   Permissions   permissions   restrictions   samples   Samples   Security   security   Then   this   using   want   when   work   you   your  

Clear message

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.

1. 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.

2. Samples

For samples on using this mechanism, see [MoinMoin]SecurityPolicy.