1 # property-protections-policies.conf.sample
3 # This file is an example config file for when
4 # property_protection_rule_format=policies is enabled.
6 # Specify regular expression for which properties will be protected in []
7 # For each section, specify CRUD permissions. You may refer to policies defined
9 # The property rules will be applied in the order specified. Once
10 # a match is found the remaining property rules will not be applied.
13 # * If the reg ex specified below does not compile, then
14 # the escalator-api service fails to start. (Guide for reg ex python compiler
16 # http://docs.python.org/2/library/re.html#regular-expression-syntax)
17 # * If an operation(create, read, update, delete) is not specified or misspelt
18 # then the escalator-api service fails to start.
19 # So, remember, with GREAT POWER comes GREAT RESPONSIBILITY!
21 # NOTE: Only one policy can be specified per action. If multiple policies are
22 # specified, then the escalator-api service fails to start.
31 create = context_is_admin
32 read = context_is_admin
33 update = context_is_admin
34 delete = context_is_admin