Define the default policy file

This change ensures that the default policy file for Manila API access
is defined by default, so that operators can deploy their own policy
more easily.

Change-Id: Ie890766ea2a274791393304cdfe532e024171195
This commit is contained in:
Takashi Kajinami 2021-02-13 22:55:15 +09:00
parent 777bfd9be8
commit 7b3267b2ba
1 changed files with 6 additions and 0 deletions

View File

@ -11,6 +11,12 @@
# 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 django.conf import settings
settings.POLICY_FILES.update({
'share': 'manila_policy.json',
})
# The OPENSTACK_MANILA_FEATURES settings can be used to enable or disable
# the UI for the various services provided by Manila.