cancel
Showing results for 
Search instead for 
Did you mean: 

Excending alfresco user creation

simonsimonson
Champ in-the-making
Champ in-the-making
Hi,

I am new to Alfresco and I have come across a problem. I am trying to create functionality so that an admin on creation would be able to assign an aspect to the user. After creating the user the admin would be able to edit the certain fields in the user profile which the user cannot modify himself.

I have created an in aspect com:extend_person with multiple properties. After that I have registered it with the repository. I'm kind of stuck on how to add the required fields to the user creation script, and display form. I have tried following multiple guides
http://ecmarchitect.com/alfresco-developer-series-tutorials/content/tutorial/tutorial.html 
http://ecmarchitect.com/archives/2012/02/27/1555

these seem to be a bit out of date. Maybe someone could point me in the right direction.
2 REPLIES 2

mrogers
Star Contributor
Star Contributor
One approach is to add a new policy that adds your aspect on creation of a new node of type cmSmiley Tongueerson.

pat9rv3sousa
Champ on-the-rise
Champ on-the-rise
You already do this?