keystone/keystone/common/rbac_enforcer/__init__.py
Morgan Fainberg 0f4fd2e4f3 Fix keystone.common.rbac_enforcer.__init__.py exporting
keystone.common.rbac_enforcer now exports (and has __all__ setup)
for the RBACEnforcer object. This limits the underlying module
knowledge needed to effectively work with the new flask RBACEnforcer.

Change-Id: I48cafa779ca1895113222a2ebfef6d738a906473
Partial-Bug: #1776504
2018-07-12 22:09:12 +00:00

17 lines
648 B
Python

# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
from keystone.common.rbac_enforcer.enforcer import RBACEnforcer # noqa
__all__ = ('RBACEnforcer',)