Merge "Add allow_deactivate_reactivate config"
This commit is contained in:
commit
4ec3dfea15
@ -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"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user