Skip to content

Fix blocked view message #63

@profbieber

Description

@profbieber

Change wording for the following message generated by view access constraints (the FE generates string before the first colon and the BE generates string after the colon).

Incomplete Task message: For tasks that have not been completed, please reword the BE part as “Sorry, you are not allowed to see this task: because it has not been completed.”

Approach: Search for "At at this time" in Rest.js. Insert an additional condition right before this point to check whether the TI has been completed (TaskInstance.Status[0] == "not_yet_started" || "started"), and in these cases generate the BE message "because it has not been completed"

image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions