Forums

Home » Liferay Portal » English » 2. Using Liferay » General

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Ed Jiang
How can a non-admin user create organization
February 12, 2009 10:39 AM
Answer

Ed Jiang

Rank: New Member

Posts: 21

Join Date: February 12, 2009

Recent Posts

Hi, we are using liferay 5.2.1 and we need regular user (User/Power User role) be able to create organization, same as Administrator.

We set up the role for accessing Organization portal as user/Power User through Plugin Configuration on Control Panel page. But when User/Power User login, add organization is still not available. We did lots of research and did not found related info. Can it be done in liferay 5.2.1 by just doing some configuration change?

Thank You!
stratos tzoannos
RE: How can a non-admin user create organization
February 3, 2010 3:32 AM
Answer

stratos tzoannos

Rank: New Member

Posts: 6

Join Date: February 3, 2010

Recent Posts

Hi Ed Jiang,

Did you find any solution to this? I have exactly the same problem.

Thanks in advance,
Stratos
Saranya Sethurajan
RE: How can a non-admin user create organization
February 4, 2010 3:05 AM
Answer

Saranya Sethurajan

Rank: Junior Member

Posts: 57

Join Date: October 7, 2009

Recent Posts

Hi,

The Regular user can create Organization like Administrator. But you have to assign the roles for users under admin.

Once you have created users under Administrator login:

1. Goto the Control Panel and select Roles

2. On Administrator,click on Actions button

3. Select Assign Members

4. Click on Available tab to get availbale list of users

5. Select the users which you want to act as admin

6. Click Update Association

7. Click Back to the Guest and Sign out

8. Now Login as your User name

Now you can get add organization is on available and also all control panel options are available as in Administrator.


Saranya
stratos tzoannos
RE: How can a non-admin user create organization
February 8, 2010 12:50 AM
Answer

stratos tzoannos

Rank: New Member

Posts: 6

Join Date: February 3, 2010

Recent Posts

Thanks a lot for your answer. The problem is that I just need to allow Organization creation without giving full admin permissions. Is there such a possibility?
Best Regards, Stratos
Nidhi Singh
RE: How can a non-admin user create organization
February 17, 2010 1:53 AM
Answer

Nidhi Singh

Rank: Regular Member

Posts: 155

Join Date: October 7, 2009

Recent Posts

1. Create new role by using control panel.
2. Define permission for that role.
3. Define user for that role.
Ron Bense
RE: How can a non-admin user create organization
October 28, 2010 6:16 AM
Answer

Ron Bense

Rank: Regular Member

Posts: 117

Join Date: August 23, 2007

Recent Posts

You can do this by manipulating the PermissionsChecker object. In my case, I created a class that would set su abilities using a custom permissive PermissionChecker. This can be done in your portlet around the code that needs su privs. Be very careful to set everything back to how it was when you are done with the organization creation by using a try-finally block, otherwise your user could have permissions you would rather they did not have.

This is a pretty handy class to have around, actually, as it allows you to do all sorts of interesting things for those roles where you'd rather they did not have admin privs to the entire site, yet would be able to do a specific "administrative" function.
Ishan Gajera
RE: How can a non-admin user create organization
March 24, 2011 3:56 AM
Answer

Ishan Gajera

Rank: New Member

Posts: 2

Join Date: February 13, 2011

Recent Posts

Nidhi Singh:
1. Create new role by using control panel.
2. Define permission for that role.
3. Define user for that role.



But What in Define Permissions?
I've added all Organization related & Organization Administration related Permissions to my custom role..

But still not getting the option of adding a new organization
in the User's (with my custom role) Control Panel
David Tatum
RE: How can a non-admin user create organization
October 7, 2011 10:42 AM
Answer

David Tatum

Rank: New Member

Posts: 3

Join Date: August 2, 2011

Recent Posts

Ishan Gajera:
Nidhi Singh:
1. Create new role by using control panel.
2. Define permission for that role.
3. Define user for that role.



But What in Define Permissions?
I've added all Organization related & Organization Administration related Permissions to my custom role..

But still not getting the option of adding a new organization
in the User's (with my custom role) Control Panel



For Regular roles:
Add Permission->(Portal)General->Add Organization