Skip to main content

Course Access Groups

PyPI Codecov Documentation Supported Python versions License

Overview

This is a plugin for the Open edX Platform that provides the Course Access Group functionality. It can be installed via pip with minimal configuration to provide an admin panel to allow site administrators to create access groups and assign courses to them.

Learners upon registration will be automatically assigned to a specific group, from which it’ll be possible to see which courses they’ll be able to see and enroll in.

The classic example is that you’d want to offer different courses to your customers, employees and offer some courses for everyone. Hence you’d need to make two groups and assign courses to only learners within those groups while mark some courses as public ones.

Documentation

The full documentation is at https://course-access-groups.readthedocs.org.

Supported Open edX Version

The bad news, there’s none. The good news is that there’s a plan to make it work with the upstream Open edX versions out of the box.

The even better news, is that you can get this plugin to work by cherry-picking the following pull requests:

License

The code in this repository is licensed under the MIT License unless otherwise noted.

Please see LICENSE.txt for details.

How To Contribute

Contributions are very welcome.

Even though they were written with edx-platform in mind, the guidelines should be followed for Open edX code in general.

The pull request description template should be automatically applied if you are creating a pull request from GitHub. Otherwise you can find it at PULL_REQUEST_TEMPLATE.md.

The issue report template should be automatically applied if you are creating an issue on GitHub as well. Otherwise you can find it at ISSUE_TEMPLATE.md.

Reporting Security Issues

Please do not report security issues in public. Please email security@appsembler.com.

Getting Help

Have a question about this repository, or about Open edX in general? Please refer to this list of resources if you need any assistance.

Change Log

Unreleased

[0.6.1] - 2023-01-04

  • Minor fix for a False-Positive log

[0.6.0] - 2022-08-17

  • Use tahoe-sites v0.1.2 and refactor related code:

  • Bump django from 2.2.26 to 2.2.27

  • Bump pillow from 9.0.0 to 9.0.1

  • Bump django from 2.2.27 to 2.2.28

  • Bump lxml from 4.6.2 to 4.9.1

  • Added tests for modifying membership rule.

  • Fixed documentation for modifying the membership rule.

[0.5.3] - 2022-01-31

  • Bump pillow from 7.2.0 to 9.0.0

  • Bump django from 2.2.25 to 2.2.26

  • Fix ValueError for inactive users’ REGISTER_USER singal

[0.5.2] - 2022-01-05

  • Fix MembershipRule for SSO learners

[0.5.2] - 2021-12-29

  • Bump pillow from 7.2.0 to 8.3.2

  • Bump sqlparse from 0.4.1 to 0.4.2

  • Tests and docs fixes for membership rule PATCH

  • style doc fix for MembershipRule API

  • Bump lxml from 4.6.2 to 4.6.5

  • Bump django from 2.2.24 to 2.2.25

  • add organization_uuid parameter for superusers

[0.5.1] - 2021-09-01

Added

  • log exceptions for the USER_ACCOUNT_ACTIVATED signal

[0.5.0] - 2021-07-14

Added

  • Fixes for Django 2.x

Removed

  • Dropped support for Python 2.x and Django 1.x

[0.4.0] - 2021-01-27

Added

  • Support python3 and django2

[0.3.0] - 2020-04-06

Added

  • Added new APIs /courses/ and /users/

  • Few bug fixes

[0.2.0] - 2020-03-11

Added

  • First release to be ready for deployment in staging environments.

[0.1.0] - 2019-11-26

Added

  • First release on PyPI.

Metadata

Release files for course-access-groups 0.6.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for course-access-groups 0.6.1
File Size Uploaded Provenance
course-access-groups-0.6.1.tar.gz 17.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for course-access-groups 0.6.1
File Interpreter ABI Platform
course_access_groups-0.6.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 38.3 kB

Release files / course-access-groups-0.6.1.tar.gz

Download URL course-access-groups-0.6.1.tar.gz
Size 17.8 kB
Tags Source
SHA-256 checksum
How to use checksums
5e8f805a8885e68e04ee572772051debed06802e3e652bba372670bd57fb61b6
BLAKE2b-256 checksum
How to use checksums
395fe427f8f7daf8af8bb1a984d3e3869d56191c34cc7f8ca09734e0a5ca1b80
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release files / course_access_groups-0.6.1-py2.py3-none-any.whl

Download URL course_access_groups-0.6.1-py2.py3-none-any.whl
Size 20.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
86e066cc73a9d6a7d8b7cdb512aecba80aa7d8af9e844d80bd2ae94acc347a6e
BLAKE2b-256 checksum
How to use checksums
c333739523cba68b00a64e426497b1917f0da350c38ea5690e3bb46e21ca40be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Security for course-access-groups 0.6.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page