I need to remove "Add New" button from Asset Publisher portlet for the role "Power User" in Liferay 6.1. How can I do it. Please help.
The "Add New" Button only appears when a user has permissions to create one of the assets displayed in AssetPublisher. It seems that your users/power users have permission to create content - this can be WebContent, Blogs or others. For example this typically happens in their own personal site where they have write permissions by default.
You can either remove that permission from the Power User, use standard users (there has been a recent blogpost about the difference between the two) or, if the permission is ok, just the UI should disappear either override the AssetPublisher UI with a hook (remove the button there) or use the simple CSS-trick ("display:none") in the portlet's "Look&Feel/Advanced Styling" section
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With