-
MODX Staff
- 730 Posts
modAccessResourceGroup extends modAccess, which defines the principal field (see modx.mysql.schema.xml)
I would say, it is a basically incorrect planning, or failure of the class model, that there is no way to detect the principal (a usergroup) of a ResoureGroup Access (modAccessResoureGroup).
I will write an error message into JIRA.
It is also a serious problem that there is no (graphic) overview on the modx data model anywhere.
-
MODX Staff
- 730 Posts
It’s really not a simple task, diagramming an object relational model.
There are many kinds of relationships, heirarchies, inheritance to consider, plus the separation between the objects and how they’re persisted.
I doubt it’s possible to make a complete picture of something like Revolution in one diagram. You need to start by knowing exactly what it is you want to convey. You may be able to find industry standard methodologies, tools, techniques (e.g. a UML class diagram) that give you what you’re looking for, or you may need your own hybrid approach in a generic diagramming tool.
The relationships are defined in core/model/schema/modx.mysql.schema.xml if that helps.