Commit ae9e1f5e authored by Paul Graydon's avatar Paul Graydon

wendelin_telecom_test: Add Data Array Line permission checking

parent dc415f1a
Pipeline #40198 passed with stage
in 0 seconds
......@@ -462,6 +462,15 @@ class WendelinTelecomTest(SecurityTestCase):
False,
False
)
for data_array_line in data_array \
.contentValues(portal_type='Data Array Line'):
self.checkDocumentPermissions(
user,
data_array_line,
user_is_admin or same_project,
False,
False
)
# Only an administrator can view a Progress Indicator (for management actions)
self.checkDocumentPermissions(
......@@ -2342,15 +2351,15 @@ class WendelinTelecomTest(SecurityTestCase):
# Perform ingestions for all three ORSs
ingestion_a_item_dict = self.getOrsLogIngestionItems(
self.test_ors_example_log_empty,
self.test_ors_example_log_valid,
ors_a_tag
)
ingestion_b_item_dict = self.getOrsLogIngestionItems(
self.test_ors_example_log_empty,
self.test_ors_example_log_valid,
ors_b_tag
)
ingestion_n_item_dict = self.getOrsLogIngestionItems(
self.test_ors_example_log_empty,
self.test_ors_example_log_valid,
ors_n_tag
)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment