UserPreferences

HelpOnConfiguration/SecurityPolicy


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

Access   actions   admins   allows   also   an   and   are   assign   base   basic   by   certain   class   config   content   Control   defaults   define   defined   deleting   directly   disable   dynamically   easier   editing   either   enable   For   for   from   get   Help   If   implements   in   inherit   instance   interface   is   it   key   Lists   mean   Mechanics   mechanism   module   most   name   new   not   notably   of   on   On   option   or   own   Permissions   permissions   Policy   policy   restrictions   Samples   samples   security   Security   see   See   so   system   that   The   the   Then   this   to   user   using   want   way   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. See also HelpOnAccessControlLists for an easier way.

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.