* 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 |
---|---|---|
askbot @ e56ae380 | ||
cms | Loading commit data... | |
common | Loading commit data... | |
doc | Loading commit data... | |
fixtures | Loading commit data... | |
lms | Loading commit data... | |
proxy | Loading commit data... | |
test_root | Loading commit data... | |
utility-scripts | Loading commit data... | |
.gitignore | Loading commit data... | |
.gitmodules | Loading commit data... | |
.hgignore | Loading commit data... | |
.pylintrc | Loading commit data... | |
Gemfile | Loading commit data... | |
LICENSE.TXT | Loading commit data... | |
README | Loading commit data... | |
__init__.py | Loading commit data... | |
brew-formulas.txt | Loading commit data... | |
create-dev-env.sh | Loading commit data... | |
install.txt | Loading commit data... | |
pre-requirements.txt | Loading commit data... | |
prod-requirements.txt | Loading commit data... | |
rakefile | Loading commit data... | |
repo-requirements.txt | Loading commit data... | |
requirements.txt | Loading commit data... | |
run.sh | Loading commit data... | |
run_watch_data.py | Loading commit data... | |
test-requirements.txt | Loading commit data... |