1 | | A `ConfigurationError` is raised if: `tracopt.perm.authz_policy` is enabled and AuthzPolicy is in the list of active `permission_policies` but `ConfigObj` is not installed, the `authz_file` option is missing, the `authz_file` option is empty or the content of `authz_file` is empty. The `ConfigObj` dependency for `tracopt.perm.authz_policy` is enforced in `setup.py`. |
| 1 | A `ConfigurationError` is raised if `tracopt.perm.authz_policy` is enabled and AuthzPolicy is in the list of active `permission_policies` but one of the following is true: |
| 2 | * `ConfigObj` is not installed |
| 3 | * the `[authz_policy] authz_file` option is missing |
| 4 | * the `[authz_policy] authz_file` option is empty |
| 5 | * the content of `authz_file` is empty |
| 6 | The `ConfigObj` dependency for `tracopt.perm.authz_policy` is enforced in `setup.py`. |