cancel
Showing results for 
Search instead for 
Did you mean: 

Restricting visibility of a contant type for groups

lvs
Champ in-the-making
Champ in-the-making
Hi everybody,

I am using Alfresco enterprise 2.1.
I have created a set of content types, and I would like to associate this types to my user groups. I did not find any way to do this, I would like my users to manage (i.e, create new contents or folders) only the content types that are assigned to their groups. Do you have any idea of how I could do that? Should I modify the create Content, addContent, and addSpace dialogs and wizard or do you see any easier way to do it?

Thanks a lot for your help
Laura
4 REPLIES 4

gavinc
Champ in-the-making
Champ in-the-making
You're right, there is no way to do this out of the box, your suggestions are spot on, you will need to customise the dialogs and wizards you mentioned.

lvs
Champ in-the-making
Champ in-the-making
Thanks Gavinc for your answer!
Laura

asmita_hardikar
Champ in-the-making
Champ in-the-making
Hi,

I have similar requirement. can you please share how you implemented the solution?
I am yet not clear on how I can implement the solution by customizing "Add Content" dialog.

My requirement is to allow only SYSTEM ADMINISTRATORS to create content of 2 custom content types.

lvs
Champ in-the-making
Champ in-the-making
Hi Asmita,

What I did is :
I extended the CreateContentWizard and AddContentDialog beans and rewrote the getObjectTypes() functions in order to retrieve the properties I want to show from a configuration file.
I then add to modify web-client-config-custom.xml in order to make the dialog and the wizard use my new bean.
I also added a new jsp for the addContentDialog as it is not managed as a real dialog and you have to change the bean references directly into the jsp. For this I also had to change the navigation rules in the faces-config.xml.

I hope this help you
Regards
Laura
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.