2011-06-27 14 views

Odpowiedz

7

Zmiana własnego adresu e-mail jest zazwyczaj domyślnie włączona. Zobacz tę pozycję w portal.properties (lub zastąpić w swoim portal-ext.properties)

# 
# Input a list of comma delimited user types who can edit their own fields. 
# 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,user-with-mx,user-without-mx 
field.editable.com.liferay.portal.model.User.emailAddress=administrator,user-with-mx,user-without-mx 

Dla innej zawartości panelu sterowania: Tworzenie niestandardowego rolę, wybierz „Definiowanie uprawnień” w polu wyboru w sekcji " ControlPanel "znajdziesz uprawnienie o nazwie" Dostęp w ControlPanel ". Oczywiście, będziesz potrzebować dodatkowych uprawnień dla części, do których umożliwisz dostęp (patrz np. W sekcji Treść w polu wyboru)

+0

Z jakiegoś powodu miałem z tym problem, więc po prostu poszedłem edytować sam jsp. W każdym razie dzięki. –

+0

Przyjemne wyjaśnienie Olaf. – suyash

Powiązane problemy