Anvil | Smiths Smiths | Register Register | Login Login |
Search:
Show links Show tools Show tree | Previous document Next document | njet.org > Anvil > Documentation > Configuration > policy

Policy

Policy contains read only collections of permissions, created with permission attribute.

Attributes
name default description
permission N/A There may be many of these attributes. Value of attribute represents space or comma separated list of one or more parameters:
permission
permission, name
permission, name, actions
Permission is name of permission, see Permissions. Name and actions are permission dependent.

Example:

  policy:
    permission = file "/tmp/-" "read,write"
    permission = file "/home/user/-" "read,write"
    permission = java java.util.jar.*
    permission = pool db_forum
  end

See also  | Configuration  | Permissions
What's new | Anvil