Filter document types available for creation

Hello everyone,

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.

0 votes

2 answers

538 views

ANSWER



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.

0 votes



Hello,

I am looking for this solution in JSF UI. How to make the filter.

Thank you

0 votes



Hi, I have the same problem but i don't find the solution Any Idea Please
10/09/2018