Shikhar Srivastava
Shikhar Srivastava

Reputation: 149

How to remove admin functionality in Liferay?

I'm using liferay-portal-6.2-ce-ga5 in which some functionality like assigning a site to a new user or giving to use social office etc. So we can see here admin is assigning a site so what I want that it should be done automatically or any code so that it can be achieved?

Upvotes: 2

Views: 73

Answers (1)

Olaf Kock
Olaf Kock

Reputation: 48057

If you're doing it to everybody (e.g. every new user should be member of a specific site or have the same role, like "Social Office User"): Go to "ControlPanel / Configuration / Portal Settings / Users / Default User Associations" and configure as you like.

If this is not what you're asking for, please rephrase your question to be more specific.

For programmatically achieving this, you'll find a bunch of sample code in James Falkner's blog article on the ancient sevencogs code.

Upvotes: 2

Related Questions