appsembler / course-access-groups

An Open edX plugin to customize courses access by grouping learners and assigning different permissions to groups.
https://course-access-groups.readthedocs.io/
MIT License
4 stars 3 forks source link

Use tahoe_sites.api.get_organization_for_user #107

Closed shadinaif closed 2 years ago

shadinaif commented 2 years ago

Description:

JIRA:

Dependencies: dependencies on other outstanding PRs, issues, etc.

Merge deadline: List merge deadline (if any)

Installation instructions: List any non-trivial installation instructions.

Testing instructions:

  1. Open page A
  2. Do thing B
  3. Expect C to happen
  4. If D happened instead - check failed.

Reviewers:

Merge checklist:

Post merge:

Author concerns: List any concerns about this PR - inelegant solutions, hacks, quick-and-dirty implementations, concerns about migrations, etc.

shadinaif commented 2 years ago

@OmarIthawi please double-check the fix for https://github.com/appsembler/course-access-groups/blob/c81f2faf53d74f218eba427073b7d74a13f0b125/course_access_groups/permissions.py#L44