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
Unable to use accountEntry restriction on site initializer obj. definition
by @Amos Fong
Since objects definitions imported by a site initializer are
automatically published, I cannot enable accountentry restriction on
them (https://issues.liferay.com/browse/LPS-158866).
Hey Amos,
Thanks for your question, Account Restriction is something we only allow users to configure before the objects is published due to security issues.
Why don't you add those configurations directly in the site initializer?
Hey Luiz,
It doesn't look possible to configure this in site initializer (maybe unless we're writing java code).
Hello Amos,
A pull request was sent to fix the issue you described. You can
track the progress through this ticket.
Thank you.
great, thanks!
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™