Comment 4 for bug 942074

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/5297
Committed: http://github.com/openstack/horizon/commit/382a5105c44ced79801b450e485e94acae39a7e0
Submitter: Jenkins
Branch: master

commit 382a5105c44ced79801b450e485e94acae39a7e0
Author: Gabriel Hurley <email address hidden>
Date: Tue Mar 13 15:09:12 2012 -0700

    User.authorized_tenants is now a cached property.

    This allows moving the call to get authorized tenants out of
    the middleware (which was a wasteful call on many requests),
    and allows the value to be re-used anytime it's accessed more
    than once per request.

    Fixes bug 942074.

    Change-Id: Ic09b15adbffb16c0358bb28aec73345cc01834ad