DIRECT_ONLY_CATEGORIES location - correct?

Description

In draft_and_published.py, there's a DIRECT_ONLY_CATEGORIES list that contains several module/block types by name. Is it in the correct location/code layer? Would it be better elsewhere?

A/C:

  • Determine if DIRECT_ONLY_CATEGORIES is in the correct place.

  • If not, move it to the correct place.

Steps to Reproduce

None

Current Behavior

None

Expected Behavior

None

Reason for Variance

None

Release Notes

None

User Impact Summary

None

Activity

Show:
Julia Eskew
May 18, 2017, 1:23 PM
Edited

Ideally, this attribute of a particular XModule/XBlock should live on the module/block itself instead of being hard-coded in the modulestore. The modules/blocks could even register themselves as non-draft on a modulestore-wide basis at process startup or at least the list could live in edx-platform and be passed to the modulestore upon startup.

Julia Eskew
May 19, 2017, 4:40 PM

To summarize:

  • DIRECT_ONLY_CATEGORIES is in the wrong place.

  • It should be moved to edx-platform and passed to the coursestore upon startup.

Brian Mesick
May 31, 2017, 8:34 PM

This work is being stopped.

Done

Assignee

Unassigned

Reporter

Julia Eskew

Reach

None

Impact

None

Platform Area

None

Customer

None

Partner Manager

None

URL

None

Contributor Name

None

Groups with Read-Only Access

None

Actual Points

None

Category of Work

None

Platform Map Area (Levels 1 & 2)

None

Platform Map Area (Levels 3 & 4)

None

Priority

Unset
Configure