{"push_id":861732773,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"a396e03b381b42b507146617d46772443d180853","before":"6827e39144154c08038b10440a54f856d7e7c467","commits":[{"sha":"a396e03b381b42b507146617d46772443d180853","author":{"email":"b3f594e10a9edcf5413cf1190121d45078c62290@instructure.com","name":"Jeremy Stanley"},"message":"fix grading scheme permissions\n\nalso don't allow editing account grading standards on\na course grading standard page, even if the user has permission\n\ntest plan:\n 1. create grading schemes in an account\n 2. create grading schemes in a course\n 3. create an account role that defines no additional permissions\n    and add a user in this role\n 4. enroll the user from step 3 as a teacher in the course from\n    step 2\n 5. confirm that the user cannot access the account grading\n    standards page (account settings | Grading should be missing;\n    the URL /accounts/X/grading_standards should yield an\n    \"Unauthorized\" error)\n 6. as the user from step 3, go to the course grading standards page\n 7. confirm that course grading standards can be edited / deleted\n    but these options are grayed out for account grading standards\n 8. as an account administrator, go to the account grading standards\n    page (/accounts/X/grading_standards), and confirm all grading\n    standards shown there are editable / deleteable\n 9. as an account administrator, go to the course grading standards\n    page (/courses/X/grading_standards), and confirm the course\n    grading standards are editable, whereas the account grading\n    standards have an icon that links you to the account\n    grading standards page, rather than being editable in-place.\n    (title text on the link should explain this.)\n\nfixes CNVS-24716\n\nChange-Id: I585f6dc148c675f7684a4faa14b34a27f21dbbd3\nReviewed-on: https://gerrit.instructure.com/66619\nTested-by: Jenkins\nReviewed-by: James Williams  <jamesw@instructure.com>\nQA-Review: Ryan Allen <rallen@instructure.com>\nProduct-Review: Cosme Salazar <cosme@instructure.com>","distinct":true,"url":"https://api.github.com/repos/instructure/canvas-lms/commits/a396e03b381b42b507146617d46772443d180853"}]}