Foren

How can I avoid that a user can edit his account in liferay 5.2?

Marcus A., geändert vor 15 Jahren.

How can I avoid that a user can edit his account in liferay 5.2?

New Member Beiträge: 6 Beitrittsdatum: 14.11.08 Neueste Beiträge
If some one is using a custom authenticator to synchronize user data from external system when a user logs in, the user information should not be changeable in liferay by other users or the user itself.

If I revoke the oweners permission to edit a user profile. It is still possible that it can be edited by the owner via the control panel.

Does anyone have an idea how to revoke the permission that a user can edit his own account in liferay 5.2?
thumbnail
Manish Kumar Gupta, geändert vor 15 Jahren.

RE: How can I avoid that a user can edit his account in liferay 5.2?

Liferay Master Beiträge: 535 Beitrittsdatum: 16.05.08 Neueste Beiträge
You can try hook mechanism to change the user edit screen / model to stop editing.
Marcus A., geändert vor 14 Jahren.

RE: How can I avoid that a user can edit his account in liferay 5.2?

New Member Beiträge: 6 Beitrittsdatum: 14.11.08 Neueste Beiträge
I found out that the my_account portlet (portlet name 2) can be de-configured. This prevents the user to edit its account. Acutally, he can not see its user profile any more.

Eventually, a new portlet can be added for simply displaying the attributes of the user profile and not allowing the user to edit it.
thumbnail
Lisa Simpson, geändert vor 14 Jahren.

RE: How can I avoid that a user can edit his account in liferay 5.2?

Liferay Legend Beiträge: 2034 Beitrittsdatum: 05.03.09 Neueste Beiträge
That's excellent. We'll have to try that. We don't want the average user being able to edit it but we do want admins to be able to change it for them.
thumbnail
Joshua Asbury, geändert vor 14 Jahren.

RE: How can I avoid that a user can edit his account in liferay 5.2?

Expert Beiträge: 498 Beitrittsdatum: 08.09.06 Neueste Beiträge
You could also simply remove it from your theme's dock.vm for their user type.