Search code examples
alfrescoalfresco-share

How to apply permissions on model level in Alfresco


I am using Alfresco community edition 6.2.0. I need to know, is there any way to apply security on the model or custom type itself so that I can restrict the users from using that specific custom type. I come from a FileNet background, in FileNet, we can apply security on the Document Class level, is the same thing possible in Alfresco? I couldn't find any documentation related to it, so please help me.


Solution

  • Unfortunately, no. There are somewhat elegant ways to do this, though:

    • Place all specific custom type under the same folder/file plan. Then set permission up and let inheritance do it's job
    • Use NodeBehaviours to apply your security on "create/update" events, in transaction

    Apart from this, you could develop your own permissions, but this is a more serious customization.