CHANGES

1.18.0

  • Remove references to Python 3.4
  • Remove dead code and use default value of argparse
  • Add Constraints support
  • Updated from global requirements

1.17.0

  • Improved performance of parse_file_contents() method
  • Show team and repo badges on README
  • Remove wrong parameter type for class NotCheck from docstring
  • Fix a code logic while doing cyclical reference check to the policy
  • Updated from global requirements
  • Add missing parameter description in module _cache_handler
  • Fix typo in oslo.policy
  • Updated from global requirements
  • Add stevedore to requirements
  • Imported Translations from Zanata
  • Updated from global requirements
  • Make exception PolicyNotAuthorized more readable

1.16.0

  • Change assertTrue(isinstance()) by optimal assert
  • Perform basic checks on policy definitions
  • Enable release notes translation
  • Changed the home-page link
  • Change assertTrue(isinstance()) by optimal assert

1.15.0

  • Updated from global requirements
  • Update docs on policy sample generator
  • Updated from global requirements
  • doc: Add introduction to index page
  • Add sphinx extension to build sample policy
  • Updated from global requirements
  • Updated from global requirements
  • Doc: declare YAML/JSON support
  • Remove oslo.utils from requirements
  • Update reno for stable/newton

1.14.0

  • Revert “Adds debug logging for policy file validation”
  • Updated from global requirements
  • Delete H803 in flake8 ignore

1.13.0

  • Updated from global requirements
  • Add note about not all APIs support policy enforcement by user_id
  • Allow policy file to not exist
  • Adds debug logging for policy file validation
  • Fixed unit tests running on Windows
  • Add Python 3.5 classifier and venv

1.12.0

  • Updated from global requirements
  • Updated from global requirements
  • Fix mispelled method name in setup.cfg
  • Updated from global requirements
  • Updated from global requirements
  • Imported Translations from Zanata

1.11.0

  • Updated from global requirements

1.10.0

  • Imported Translations from Zanata
  • Improve policy sample generation testing
  • Add helper scripts for generating policy info

1.9.0

  • Add sample file generation script and helper methods
  • Add equality operator to policy.RuleDefault
  • Imported Translations from Zanata
  • Updated from global requirements
  • Fix typo: ‘olso’ to ‘oslo’
  • Updated from global requirements
  • Updated from global requirements
  • Add reno for release notes management
  • Add policy registration and authorize method
  • Updated from global requirements
  • doc: Fix wrong import statement in usage

1.8.0

  • Trivial: ignore openstack/common in flake8 exclude list

1.7.0

  • Updated from global requirements
  • Imported Translations from Zanata
  • Imported Translations from Zanata
  • Updated from global requirements
  • Updated from global requirements
  • Deprecate load_json() in favor of load()
  • Support policy file in YAML

1.5.0

  • Updated from global requirements

1.4.0

  • Update translation setup
  • Updated from global requirements
  • Updated from global requirements
  • Updated from global requirements
  • Updated from global requirements
  • Revert “Pass environment variables of proxy to tox”
  • Run docs testenv by default with tox
  • Add oslopolicy-checker command-line tool

1.3.0

  • Updated from global requirements
  • Don’t crash on RoleCheck when roles not present
  • assertIsNone(val) instead of assertEqual(None,val)

1.2.0

  • Updated from global requirements
  • Add string format rendering to RoleCheck.__call__()
  • Pass environment variables of proxy to tox
  • Fixes combined “and” and “or” rule handling
  • Make sure item of policy_dirs is directory
  • Updated from global requirements
  • Use dict comprehension
  • Don’t generate doc from test

1.1.0

  • Trival: Remove ‘MANIFEST.in’
  • Updated from global requirements
  • Updated from global requirements
  • Updated from global requirements
  • Use requests-mock instead of httpretty in tests
  • Clarify usage docs
  • Correct invalid doc references

1.0.0

  • Updated from global requirements
  • Remove Python 2.6 classifier
  • Remove python 2.6 and cleanup tox.ini

0.13.0

  • Updated from global requirements
  • Updated from global requirements
  • Updated from global requirements
  • Use JSON generator
  • Add test for enforce with rule doesn’t exist
  • Add test for raising default exception
  • Add test for invalid JSON
  • Add cover test requirement
  • Fix a typo in policy.py

0.12.0

  • Updated from global requirements
  • Custom fixture to avoid external call in HttpCheck
  • Fix coverage configuration and execution
  • add auto-generated docs for config options
  • Add shields.io version/downloads links/badges into README.rst
  • Updated from global requirements
  • Use requests in http check instead of urllib
  • Change ignore-errors to ignore_errors
  • Updated from global requirements
  • remove deprecation text for policy_dirs option

0.11.0

  • Updated from global requirements

0.10.0

  • Pass reference then actual to assertEqual
  • Overwrite option should not cause policy file reloading
  • Updated from global requirements
  • Setup translations
  • Have the enforcer have its own file cache
  • Updated from global requirements

0.9.0

  • Updated from global requirements

0.8.0

  • Updated from global requirements
  • Fix typo of ‘available’ in token_fixture.py
  • Fixes up the API docs and module index

0.7.0

  • Remove oslo-incubator specific code
  • Move fileutils functions to oslo.policy
  • Add six and oslo.utils to requirements
  • Add tox target to find missing requirements
  • Updated from global requirements
  • Updated from global requirements

0.6.0

  • Fix Enforcer docstring

0.5.0

  • Expose base check classes as part of public API
  • Cleanup logging to conform to guidelines
  • Cleanup logging to conform to guidelines
  • Remove support for Python 3.3
  • Updated from global requirements

0.4.0

  • Uncap library requirements for liberty
  • Fix invalid indentation in _load_policy_file method
  • Cleanup README.rst and setup.cfg
  • Avoid reloading policy files in policy.d for every call
  • Lists for Generic Checks
  • Updated from global requirements

0.3.1

  • Switch to non-namespaced module imports

0.3.0

  • deprecate policy_dirs option
  • Updated from global requirements
  • Expose register and Check as part of public API
  • provide more descriptive exception

0.2.0

  • Add missing space to help message
  • Add Rules.from_dict classmethod
  • Use assertTrue or assertFalse where appropriate
  • Fix the order of args to assertEqual in tests

0.1.0

  • Clean up configuration option management
  • Update comments about tox configuration
  • Fix i18n imports
  • Change default set of tox environments
  • Create the temporary files needed for tests
  • Fix minor spelling issues in oslo.policy
  • Use single quotes consistently
  • Do not log on missing or empty policy_dirs
  • Remove symlinked file from tests
  • document the migration process and update the docs a bit
  • Use standard logging in oslo.policy
  • Updated from global requirements
  • Remove globals that were introduced for compatibility
  • Upgrade hacking to >=0.10.0
  • Remove oslo.concurrency from requirements
  • Stop shouting test attribute names
  • Do not use global enforcer for tests
  • Make use of private modules
  • Privatize parsing classes
  • Add entry points for option discovery
  • Add pep8 import exception for oslo_policy._i18n
  • Use oslo_i18n
  • Perform an oslo-sync
  • General docstring cleanup
  • Drop use of oslo namespace for oslo libraries
  • Update .gitignore
  • Drop usage of namespaced packages
  • Remove use of graduated modules
  • Add docstrings for check classes
  • Correct docstring references
  • Improve policy documentation
  • Explicit configuration object
  • Fix project metadata
  • Add API documentation
  • Move project imports after 3rd party imports
  • Fix tests
  • Add openstack.common and requirements fixes
  • exported from oslo-incubator by graduate.sh
  • Improving docstrings for policy API
  • Don’t log missing policy.d as a warning
  • Add rule overwrite flag to Enforcer class
  • Fixed a problem with neutron http policy check
  • Expanding the help text for policy_dirs
  • policy: add a missing staticmethod declaration
  • Fixes nits in module policy
  • add list_opts to all modules with configuration options
  • Correct default rule name for policy.Enforcer
  • Minor fixes in policy module
  • Delete graduated serialization files
  • Remove code that moved to oslo.i18n
  • Allow dictionary lookup in credentials with dot notation
  • Remove graduated test and fixtures libraries
  • Fix typo to show correct log message
  • Use MultiStrOpt for policy_dirs
  • Add support for policy configration directories
  • Fix deletion of cached file for policy enforcer
  • Make policy debug logging less verbose
  • Improve help strings
  • Use oslotest instead of common test module
  • policy: rename Exception to avoid nose regression
  • Adds a flag to determine whether to reload the rules in policy
  • Documenting policy.json syntax
  • Update oslo log messages with translation domains
  • Fix policy tests for parallel testing
  • Allow policy.json resource vs constant check
  • Replaces use of urlutils with six in policy module
  • Utilizes assertIsNone and assertIsNotNone
  • Use hacking import_exceptions for gettextutils._
  • Use urlutils functions instead of urllib/urllib2
  • Remove vim header
  • Use six.string_type instead of basestring
  • Apply six for metaclass
  • ConfigFileNotFoundError with proper argument
  • Keystone user can’t perform revoke_token
  • Remove useless unit test codes in test_policy
  • Replace using tests.utils part2
  • Bump hacking to 0.7.0
  • Fix wrong argument in openstack common policy
  • Fix missing argument bug in oslo common policy
  • Fix policy default_rule issue
  • Allow use of hacking 0.6.0 and enable new checks
  • Fix missing argument bug in oslo common policy
  • Enable H302 hacking check
  • Enable hacking H404 test
  • Enable H306 hacking check
  • python3: python3 binary/text data compatbility
  • Reduce duplicated code related to policies
  • Removes len() on empty sequence evaluation
  • Convert unicode for python3 portability
  • Replaces standard logging with common logging
  • Update to use flake8
  • Removes unused imports in the tests module
  • update OpenStack, LLC to OpenStack Foundation
  • Replace direct use of testtools BaseTestCase
  • Use testtools as test base class
  • Fix pep8 E125 errors
  • Revert “Add support for finer-grained policy decisions”
  • Remove an unneeded ‘global’
  • Add support for finer-grained policy decisions
  • Add a ‘not’ operator to the policy langage
  • Add a new policy language
  • Remove deprecated policy engine APIs
  • Rewrite the policy engine from scratch
  • Use pep8 v1.3.3
  • Allow non-string items in the creds dict
  • Use function registration for policy checks
  • Fix missing gettextutils in several modules
  • Switch common files to using jsonutils
  • Update common code to support pep 1.3. bug 1014216
  • Common-ize policies
  • initial commit
  • Initial skeleton project