* All access control logic is now in access.py * It exports a single method for general use: has_access(user, object, action) - possible actions depend on object type (e.g. 'see_exists', 'enroll', 'staff') * Removed DARK_LAUNCH feature flag--it is now the default behavior * Replaced check_course with three separate more focused functions that use has_access Minor things: * note on using pdb in testing * moved time parsing helper into timeparse.py * x_modules now have a .start attribute (None if not in metadata)
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| devgroups | Loading commit data... | |
| README.txt | Loading commit data... | |
| __init__.py | Loading commit data... | |
| askbotsettings.py | Loading commit data... | |
| aws.py | Loading commit data... | |
| common.py | Loading commit data... | |
| content.py | Loading commit data... | |
| dev.py | Loading commit data... | |
| dev_edx4edx.py | Loading commit data... | |
| dev_ike.py | Loading commit data... | |
| dev_mongo.py | Loading commit data... | |
| devplus.py | Loading commit data... | |
| edx4edx_aws.py | Loading commit data... | |
| logsettings.py | Loading commit data... | |
| static.py | Loading commit data... | |
| test.py | Loading commit data... | |
| test_ike.py | Loading commit data... | |
| with_cms.py | Loading commit data... |