'Property marked with special char @ creatable by an unknown role'

def test_create_non_protected_prop(self):

    self.set_property_protections()
    request = unit_test_utils.get_fake_request(roles=['admin'])
    image = {'name': 'image-1'}
    extra_props = {'x_all_permitted_1': '1'}
    created_image = self.controller.create(request, image=image, extra_properties=extra_props, tags=[])
    self.assertEqual('1', created_image.extra_properties['x_all_permitted_1'])
    another_request = unit_test_utils.get_fake_request(roles=['joe_soap'])
    extra_props = {'x_all_permitted_2': '2'}
    created_image = self.controller.create(another_request, image=image, extra_properties=extra_props, tags=[])
    self.assertEqual('2', created_image.extra_properties['x_all_permitted_2'])
