Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#12048] Abstract Access Controls to BaseActionTest #13254

Draft
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

InfinityTwo
Copy link
Contributor

@InfinityTwo InfinityTwo commented Mar 3, 2025

Part of #12048
Surfaced from #13245

Outline of Solution
Abstract various access controls for testing to BaseActionTest, like the previous way, to simplify test code.

Issue not yet resolved, but the concern now is implementing verifyAccessibleForInstructorsOfTheSameCourse() and its similar counterparts as the previous implementation is based on typical bundle course and instructor ids. If any of the test cases do not use the same course/instructors, then the method and test will not be testing the same thing.

PS: I'm not sure why the first 10 commits are there even though I started from a clean master but they are not relevant to the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant