Fórumok

How can a non-admin user create organization

Paula Jiang, módosítva 15 év-val korábban

How can a non-admin user create organization

New Member Bejegyzések: 21 Csatlakozás dátuma: 2009.02.12. Legújabb bejegyzések
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, módosítva 14 év-val korábban

RE: How can a non-admin user create organization

New Member Bejegyzések: 6 Csatlakozás dátuma: 2010.02.03. Legújabb bejegyzések
Hi Ed Jiang,

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

Thanks in advance,
Stratos
thumbnail
Saranya Sethurajan, módosítva 14 év-val korábban

RE: How can a non-admin user create organization

Junior Member Bejegyzések: 57 Csatlakozás dátuma: 2009.10.08. Legújabb bejegyzések
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, módosítva 14 év-val korábban

RE: How can a non-admin user create organization

New Member Bejegyzések: 6 Csatlakozás dátuma: 2010.02.03. Legújabb bejegyzések
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
thumbnail
Nidhi Singh, módosítva 14 év-val korábban

RE: How can a non-admin user create organization

Regular Member Bejegyzések: 155 Csatlakozás dátuma: 2009.10.07. Legújabb bejegyzések
1. Create new role by using control panel.
2. Define permission for that role.
3. Define user for that role.
thumbnail
Ishan Gajera, módosítva 13 év-val korábban

RE: How can a non-admin user create organization

New Member Bejegyzések: 2 Csatlakozás dátuma: 2011.02.14. Legújabb bejegyzések
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, módosítva 12 év-val korábban

RE: How can a non-admin user create organization

New Member Bejegyzések: 3 Csatlakozás dátuma: 2011.08.02. Legújabb bejegyzések
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
thumbnail
Ron Bense, módosítva 13 év-val korábban

RE: How can a non-admin user create organization

Regular Member Bejegyzések: 117 Csatlakozás dátuma: 2007.08.23. Legújabb bejegyzések
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.