June 05, 2012

Liferay - How to make email / screenname non editable for other users?



In portal-ext.properties file add following entries.


# Valid types are "administrator", "user-with-mx", and "user-without-mx".
#
# Set a value of "administrator" if an administrator can edit the specified
# field. An administrator is anyone who has the Administrator role.
#
# Set a value of "user-with-mx" if a user who has an email address that
# matches the company mail suffix can edit the specified field.
#
# Set a value of "user-without-mx" if a user who does not have an email
# address that matches the company mail suffix can edit the specified field.
#
# Set all three values if all users can edit the specified field. Set a
# combination of the three values if only a combination of the users can
# edit the specified field.
#

field.editable.com.liferay.portal.model.User.screenName=administrator
field.editable.com.liferay.portal.model.User.emailAddress=administrator

No comments:

Post a Comment