Disable buttons
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2008 09:50 AM
Hello,
Can someone shows me how to disable the "Add Content" and "Create" button ? I have a folder called "Final Approval" and I don't want the user to Add or Create contents in that folder. They still can do check-in/Check-out of the file in the Final Approval folder but they can't create any contents. I am not sure how to modify permissionDefinition.xml file to do that.
Thank you
Can someone shows me how to disable the "Add Content" and "Create" button ? I have a folder called "Final Approval" and I don't want the user to Add or Create contents in that folder. They still can do check-in/Check-out of the file in the Final Approval folder but they can't create any contents. I am not sure how to modify permissionDefinition.xml file to do that.
Thank you
Labels:
- Labels:
-
Archive
3 REPLIES 3

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2008 10:59 AM
Easy. Add the following to your web-client-config-custom.xml:
<action-group id="add_content_menu"> <style>white-space:nowrap</style> <action idref="add_adm_content" hide="true" /> </action-group> <!– Actions Menu for Create in Browse screen –> <action-group id="browse_create_menu"> <action idref="create_content" hide="true" /> <action idref="create_space" hide="true" /> <action idref="create_space_wizard" hide="true" /> </action-group>
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2008 11:19 AM
Thanks for replied to my question. I did add the codes to the xml file as you suggested and restarted Alfresco but when I login to a user account I still can do "Add Content".
Thanks
Thanks

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2008 04:18 AM
Using the provided configuration, the "Add Content" button dissapears from the web client and "Create" button is shown, but when selected does not show any menu option. Is not exactly what you want, but almost. Hope it helps.
