8/22/2011

Let Liferay create Roles automatically

If you want to assure that everyone of your developers always works with the same Roles for your Users, you should let liferay create them. It´s very easy, take a look here:


Add the following into your portal-ext.properties:
system.roles = Role1, Role2,Role3
system.role.Role1.description = Role 1
system.role.Role2.description = Role 2
system.role.Role3.description = Role 3
This will automatically create the three roles and also provide a description after you restart your server :)



If you like this post it would be very nice, if you could click on some of the google ads you see on the right side. It helps me run this block and motivates me ;)

If you have any questions, feel free to leave a comment.