deb-glance/glance/api/v2/__init__.py
Mark J. Washenberger be4a90a22f Update acls in the domain model
This change brings the domain model up to speed with the v1 stack by
issuing calls to store.set_acls whenever
 - an image is saved into the database (and locations are set)
 - a member is added to an image (and locations are set)

related blueprint glance-api-v2-image-sharing

Change-Id: I45f10752f6c04646b65f86e44b59bdeea534f024
2013-03-05 08:47:07 -08:00

16 lines
666 B
Python

# Copyright 2013 OpenStack Foundation.
# Copyright 2012 Red Hat Inc.
# All Rights Reserved.
#
# 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.