Filter document types available for creation
Do we have any possiblities to filter out the document types that one can create based on his permissions ?
For example I want to allow Member to create only basic documents in a folder, like Audio, Note or File, where as Administrator should be able to create additional folders and/or document types at the same place.
I know well how to do this in JSF UI, but I have no idea how to do the same for WebUI.
Web UI subtypes filter mechanism is the same than JSF UI except that allowed subtypes are made available client side with the SubtypesJsonEnricher.java
Ultimately, you can even override this enricher with your own if you want ad-hoc logic.