How can I decouple a group from the related organization - liferay

I have an organization in which I created a site. So the site belongs to the organization, as stated in the Site Memberships page:
This site belongs to Jobyourself which is an organization of type booster-club. All users of Jobyourself are automatically members of the site and site roles are automatically assigned to them based on the organization roles they have in Jobyourself as shown in the table below.
I would now like to delete the organization, but keep the site. How can I decouple the group from the related organization (programmatically or through the control panel) ?
I am using liferay 6.1 GA3.
Best regards,
Alain

Alain, From Control Panel navigate to your Site which you want to decouple, From Action button click on Site Membership you should see Organization Tab where you can remove the organization linking.. Hope this helps.

Related

Liferay DXP 7.2: Add Permissions/Roles Of Viewing Different Pages To An Organization

I have a single site in Liferay DXP 7.2, and I would like to know what is the best way to add permissions/roles of viewing different pages to an organization.
Requirements:
This site will be owned/shared by 2 organizations.
Each organization has a number of site roles.
Each site role consists of permissions for viewing different sets of pages. For example, Role 1 can view page A and page B, whereas Role 2 can view page C and page D.
Desired Outcome:
Roles:
Role 1: view public page only.
Role 2: view public and admin pages only.
Role 3: view private page only.
Organizations:
Organization 1 has Role 1 and Role 2, which can be assigned to members within Organization 1.
Organization 2 has Role 1 and Role 3, which can be assigned to members within Organization 2.
Encountered Problems:
Permissions of viewing different pages are categorized as site roles. Site roles can only be applied to a particular site, and cannot be assigned to an organization.
Organizations are required to simplify user management within the site.
I prefer not to separate it into 2 different sites.
What is the best way to achieve the desired outcome? Also, do correct me if I made wrong assumptions about how roles work in Liferay. Thank you.

How to filter only site specific users in "Users and Organizations" in Liferay 7

Currently all the members created in liferay are displays to all.
How I can filter out the users based on the sites?
You should use Organization for distributed user management. Follow below step to achieve your requirement.
Add Organization
Goto your Site->Membership->Organization and select the organization you added
Add the user in the organization you want to give access for user management for the selected site and assign organization administration.
Login with the organization administration and you will see only site specific users.
hope this will help you.

Liferay Page Administrator

I need that each page is administered by one person or group of persons.
Do I need to create one role each for every page I have to administer(Page1 administrator, page 2 administrator) or can I just create one generic role named "Page Administrator" and have some thing like a user having Page Administrator role can manage only page1 and similarly another user having the same "Page Administrator" can only manage "page2"? This is to avoid creating as many roles as there are pages in the system.
it depends... The easiest and most maintainable way to assign permissions in Liferay is through roles per site. If you have 1 page per site, you're good to go with a site role. You can build the navigation from many different sites, an example is this POC app by yours truly.
If you create roles (or teams) per page, be aware that page management is a different beast than content management: All of the pages of one site share the same content. Thus it might be hard to solve, if you also want the page administrators to maintain the content.

Organization administration portlet

I need to add portlet for organizations members and administrators. I have organization as a root and other organization inherited from it, it must done by a hook or what?
My second question I have added custom field "arabic name textfield" inside details section successfully but failed in making them required sections (validation) and not accept Arabic language
thank you
EDIT
I have added organization of many types from control panel I need to add a portlet for users in the organizations with their own roles without using control panel "users of organizations and administrators of organizations see a portlet to manage ...."
The second one I need to validate a custom field of organization form like name or email address.

User can't access Organisation in Liferay

I am new at Liferay, please help me this problem.
Firstly, I create a new Organisation named : Sample Organisation.
Then, I create a new Role named : Sample Creator.
Then, I create a new User and assign Sample Organisation, Sample Creator to this user.
Finally, I sign in this new user.
But I can't find Sample Organisation as the bottom image.
Thank all.
http://www.liferay.com/c/message_boards/get_message_attachment?messageId=22771000&attachment=liferay+training.jpg
In Liferay 6.1 Organizations can have a site attached to them, but this is not mandatory. There's an item called "Organization Site" with a checkbox "Create Site" that you'll have to check in order to have a site.
Plus, in order to be able to navigate to such a site, it will have to have pages.
Both are frequent reasons for people missing access to a site (or organization).
In Liferay 6.0 the first step is not necessary: An organization is a site in that version, but you'll still have to have pages.

Resources