moodle/mod/assign/tests
Neill Magill 06a69802d6 MDL-64336 assign: Teachers should be able to see all submissions
Before this change a teacher would be able to see users listed if:

* They have an active enrolment and can submit
* They have an an inactive enrolment for a role that can submit

After this change they will additonally be able to see users listed:

* That have an active enrolment and have submitted
* That have an inactive enrolment and have submitted

This means that if an assignment has it's context frozen all users
that have made some form of submission will still be listed.

It will also apply if the submission capability is removed from a
user.

If a user's enrolment is deleted they will not be listed.

The submission and grading counts have also been updated so
they will reflect the new rules.
2021-04-21 15:14:14 +01:00
..
behat MDL-44613 mod_assign: Fix behat failure in classic 2021-03-16 10:26:09 +08:00
fixtures MDL-55609 assignfeedback_comments: Remove shared setUp 2018-06-01 07:30:32 +08:00
generator MDL-57938 mod_assign: added new 'gradingduedate' setting 2017-04-03 11:36:07 +08:00
base_test.php MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
custom_completion_test.php MDL-70820 mod_assign: custom completion implementation 2021-04-07 12:17:30 +08:00
events_test.php MDL-66137 mod_assign: fixed marking workflow incorrect grade display 2019-09-04 14:29:30 +10:00
externallib_test.php MDL-71036 phpunit: Coding style changes, 99% whitespace only 2021-03-11 23:04:32 +01:00
feedback_test.php MDL-65925 assign: Grade page broken if submission was deleted. 2019-08-12 09:28:50 +10:00
generator.php MDL-57487 mod_assign: final deprecation xxx_print_overview 2019-06-14 17:41:18 +02:00
lib_test.php MDL-71118 core: Add grade (verb) string. 2021-04-17 11:46:09 +02:00
locallib_participants_test.php MDL-64336 assign: Teachers should be able to see all submissions 2021-04-21 15:14:14 +01:00
locallib_test.php MDL-64336 assign: Teachers should be able to see all submissions 2021-04-21 15:14:14 +01:00
markerallocation_test.php MDL-46322 database: alias sort fields to avoid ambiguous naming 2017-06-14 12:32:01 +01:00
portfolio_caller_test.php MDL-55609 assignfeedback_comments: Remove shared setUp 2018-06-01 07:30:32 +08:00
privacy_feedback_legacy_polyfill_test.php MDL-61308 assign_feedback: Privacy code for user rights. 2018-04-26 14:17:55 +08:00
privacy_submission_legacy_polyfill_test.php MDL-61308 mod_assign: Whitespace fix 2018-04-30 09:27:12 +08:00
privacy_test.php MDL-67673 phpunit: Remove deprecated assertContains() uses on strings 2020-10-21 12:46:00 +02:00
restore_date_test.php MDL-55609 assignfeedback_comments: Remove shared setUp 2018-06-01 07:30:32 +08:00
search_test.php MDL-55609 mod_assign: Remove shared setUp for all tests 2018-06-01 07:30:32 +08:00
upgradelib_test.php MDL-55609 mod_assign: Remove shared setUp for all tests 2018-06-01 07:30:32 +08:00