- Create a folder called "test1" in Company Home.
- Modify its permissions to turn off inheritance.
- Create a sub-folder called "test2" under "test1".
- Modify its permissions to turn off inheritance.
- Create a plain text file in test2 called test.txt.
- Modify its permissions to turn off inheritance and add a single user with Consumer access (tuser1).
- You can still get to the document via CMIS, which is the expected behavior.
This Java class inherits from BaseOnPremExample which can be found here: https://code.google.com/p/alfresco-api-java-examples/source/browse/alfresco-api-examples/src/main/java/com/alfresco/api/example/BaseOnPremExample.java