掲示板
Disabling username renaming
14年前 に Eduardo Roldan によって更新されました。
Disabling username renaming
New Member 投稿: 1 参加年月日: 09/11/27 最新の投稿
I've an LDAP directory (openldap) with the enterprise users. I've disabled the registration capability, so only users added to the directory can authenticate to the site (with their username, not mail address)
When users click 'my account', they can change their mobile numbers and addresses. That is cool.
But they can also change their username! This is a rare practice in enterprises. I want the username be tied with the company global usernames.
How can I disable the modification of this field?
Thank you.
When users click 'my account', they can change their mobile numbers and addresses. That is cool.
But they can also change their username! This is a rare practice in enterprises. I want the username be tied with the company global usernames.
How can I disable the modification of this field?
Thank you.
14年前 に Suresh Nimmakayala によって更新されました。
RE: Disabling username renaming
Liferay Master 投稿: 690 参加年月日: 04/08/18 最新の投稿
i don't think there is a setting in properties we can control.
you have to override details.jsp in enterprise_admin/user.
you have to override details.jsp in enterprise_admin/user.
14年前 に goutami sana によって更新されました。
RE: Disabling username renaming
New Member 投稿: 17 参加年月日: 10/03/26 最新の投稿
can you tell me in detail where to change the code exactly?
plz its urgent
plz its urgent
14年前 に goutami sana によって更新されました。
RE: Disabling username renaming
New Member 投稿: 17 参加年月日: 10/03/26 最新の投稿
actually it completely disables screen name and while adding a new user also we cannot enter screen name.
so can anyone tell me how to disable the screen name only for available users.
thanks
so can anyone tell me how to disable the screen name only for available users.
thanks
14年前 に Samuel Kong によって更新されました。
RE: Disabling username renaming
Liferay Legend 投稿: 1902 参加年月日: 08/03/10 最新の投稿
Look for this feature in Liferay 6.0. You'll be able to prevent users from modifying their screen name by making a simple change in portal(-ext).properties.
This is also available in 5.2 EE if you can't wait.
#
# Set the following fields to "user" if a user can edit his own field. Set
# it to "administrator" if only an administrator can edit that field. For
# example, some installations will allow users to change their own screen
# names. Other installations may only allow administrators to change screen
# names. An administrator is anyone who has the Administrator role.
#
field.editable.com.liferay.portal.model.User.screenName=user
field.editable.com.liferay.portal.model.User.emailAddress=user
This is also available in 5.2 EE if you can't wait.
14年前 に Suresh Nimmakayala によって更新されました。
RE: Disabling username renaming
Liferay Master 投稿: 690 参加年月日: 04/08/18 最新の投稿
samuel,
thats a good one,i find it in 5.2-ee-sp3.
thats a good one,i find it in 5.2-ee-sp3.