canvas-lms/spec/serializers/quizzes
Simon Williams 3a0276cde4 granularize adding and deleting assignments
closes FOO-2226
flag = granular_permissions_manage_assignments

Split manage_assignments_add and manage_assignments_delete off from the
main manage_assignments permission.

These permissions control more granularity for adding and deleting the
following types of content:
- Assignments
- Assignment Groups
- Quizzes
- Question Banks
- Questions within Question Banks
- Live Assessments

test plan:

[ with the flag off ]
- Smoke test creating, editing and deleting assignments, assignment
  groups, quizzes, and question banks.
- It should all work as before.

[ with the flag on ]
- Create roles that have only the add permission, only the manage
  permission, and only the delete permission.
- With those three roles, as well as with a role with all permission,
  try creating, editing, and deleting assignments, assignment groups,
  quizzes, and quesiton banks.
- It should make sense with the role.

Change-Id: I06505509e55e7ac6c3b5ef1c688ef1353e2045d8
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/271290
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: August Thornton <august@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Product-Review: August Thornton <august@instructure.com>
2021-08-18 22:39:15 +00:00
..
quiz_api_serializer_spec.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
quiz_extension_serializer_spec.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
quiz_report_serializer_spec.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
quiz_serializer_spec.rb granularize adding and deleting assignments 2021-08-18 22:39:15 +00:00
quiz_statistics_serializer_spec.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00