This re-arranges the schema_graph.views.Schema to allow for two ways of overriding access:
In cases where a setting provides enough control, the SCHEMA_GRAPH_VISIBLE setting can be used. (DEBUG will be used as a default when this setting is not found.)
In cases where more fine-grained control is required, Schema can be subclassed, and access_permitted can be overridden.
This re-arranges the
schema_graph.views.Schema
to allow for two ways of overriding access:In cases where a setting provides enough control, the
SCHEMA_GRAPH_VISIBLE
setting can be used. (DEBUG
will be used as a default when this setting is not found.)In cases where more fine-grained control is required,
Schema
can be subclassed, andaccess_permitted
can be overridden.