This commit adds unit tests to check the access of portal user. That is, we check if the readable fields are only available in read access and writable fields are available for the edition of the task. We also check if the other fields in task model raise a AccessError if the portal user wants to access to one of them. task-2633229 closes #77156 X-original-commit: 1e7185bcdd8913c006148466dec260b8f6d53c0b
21 lines
670 B
Python
21 lines
670 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
from . import test_access_rights
|
|
from . import test_burndown_chart
|
|
from . import test_project_base
|
|
from . import test_project_config
|
|
from . import test_project_flow
|
|
from . import test_project_recurrence
|
|
from . import test_project_sharing
|
|
from . import test_project_sharing_portal_access
|
|
from . import test_project_sharing_ui
|
|
from . import test_project_subtasks
|
|
from . import test_project_ui
|
|
from . import test_project_update_access_rights
|
|
from . import test_project_update_flow
|
|
from . import test_project_update_ui
|
|
from . import test_portal
|
|
from . import test_multicompany
|
|
from . import test_personal_stages
|
|
from . import test_task_dependencies
|