Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: ExpandoBridge permission
Hi,
I've developed a portlet and in this portlet i set an expandoBridge field for Documents And Media folder, but when I tried to read it from other portlet, this field gives me a null value when a non administration role and the correct value with a administration role, so , i think its a permission matter for documents folder expando bridge but i can´t find which permission i have to check.
can anyone help me¿?
Kind regards,
Iñigo
I've developed a portlet and in this portlet i set an expandoBridge field for Documents And Media folder, but when I tried to read it from other portlet, this field gives me a null value when a non administration role and the correct value with a administration role, so , i think its a permission matter for documents folder expando bridge but i can´t find which permission i have to check.
can anyone help me¿?
Kind regards,
Iñigo
I've realized that normal roles have the posibility to define permissions for control panel, and inside it, for expando bridges in setup, but, in webSites roles where i need to define the role, this funcionality is not available.
Is there any way to grant see access to expando bridges for a webSite Role?
Kind regards,
Is there any way to grant see access to expando bridges for a webSite Role?
Kind regards,
I don't think you can give a site role permissions to an expando field because they are scoped portal-wide and not by site. Are you reading the custom field in your own portlet? Since you can control permissions in your own code, I would use this expandoBridge method with secure = false.
The other options would be to permission the custom field with VIEW permission to all users, or to be more restrictive, a role with your site assigned to it.
getAttribute(String name, boolean secure)
The other options would be to permission the custom field with VIEW permission to all users, or to be more restrictive, a role with your site assigned to it.
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™