Merge "Add allow_deactivate_reactivate config"

This commit is contained in:
Jenkins 2015-07-17 18:25:59 +00:00 committed by Gerrit Code Review
commit 4ec3dfea15

View File

@ -106,6 +106,14 @@ class ImagesConfig(ConfigSectionInterface):
"""
return self.get_boolean('allow_public_images_crud')
@property
def allow_deactivate_reactivate(self):
"""
Toggle to determine if endpoint allows deactivating and reactivating
images
"""
return self.get_boolean('allow_deactivate_reactivate', 'False')
@property
def primary_image(self):
"""Primary image to be used during tests"""