keystone.access_rules_config.core module

keystone.access_rules_config.core module

List access rules config.

class keystone.access_rules_config.core.Manager[source]

Bases: keystone.common.manager.Manager

check_access_rule(service, request_path, request_method)[source]

Check access rule.

Parameters:
  • service (str) – service type of rule to check
  • request_path (str) – endpoint path to check
  • request_method (str) – API HTTP method to check
Returns:

boolean indicating whether the rule matches one of the configured access rules

driver_namespace = 'keystone.access_rules_config'
list_access_rules_config(service=None)[source]

List access rules config.

Parameters:service (str) – filter by service type
Returns:a list of configured access rules. Access rules are permission objects composing of a service, a URL path, and an HTTP method.
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.