Skip to content
Snippets Groups Projects
  1. Aug 15, 2012
    • Victor Shnayder's avatar
      Big access control refactor · 2df3a6ef
      Victor Shnayder authored
      * 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)
      2df3a6ef
  2. Aug 14, 2012
  3. Aug 13, 2012