Public instances of private types
Try this:
- Go to your private workspace
- Create a type, e.g. "Blood Group"
- Go to a public workspace, e.g. "DMX"
- Create topic "A" of type Blood Group -- a public topic of a private type
- Logout
The current topicmap is now corrupt.
E.g. try page reload. The topicmap does not open anymore, endless spinner.
The problem occurs for confidential and collaborative workspaces as well.
Background
Exactly for this situation in DM4 we came up with the "Implicit READ permission for types" concept. https://trac.deepamehta.de/ticket/899
This feature is still implemented at the DMX backend, however the current DMX Webclient makes no use of it.
Solution
- Teach the Webclient "Implicit READ permission for types". Types comprise both, topic types and assoc types.
- Apply the "Implicit READ permission for types" concept to role types as well.