I have created a contribution to set default permissions for custom doc types.
I added the contribution to my manifest file and I can see that it gets loaded
without error. I had assumed this would be added to the docmodel when a Client
Binder document (see example below) was created as the default set of
permissions. This isnt happening. Two questions: (1) is my interpretation of
the intent of this extension point correct (if it's not then what is it), and
(2) is the positioning of this file in the MANIFEST of any importance?
Example contribution...
<extension
target="org.nuxeo.ecm.platform.defaultPermissions.DefaultPermissionService"
point="config">
<configuration>
<document type="Client Binder">
<principal name="managers">
<permission
isGranted="true">Add</permission>
<permission
isGranted="true">Read</permission>
<permission
isGranted="true">Write</permission>
<permission isGranted="true">Remove
Children</permission>
</principal>
<principal name="users">
<permission
isGranted="true">Add</permission>
<permission
isGranted="true">Read</permission>
<permission
isGranted="true">Write</permission>
<permission isGranted="true">Remove
Children</permission>
</principal>
<principal name="readers">
<permission
isGranted="true">Read</permission>
</principal>
</document>
</configuration>
</extension>
Thanks Bruce.
--
Posted by "bgrant" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread:
<http://www.nuxeo.org/discussions/thread.jspa?threadID=3486#10622>
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm