Customer and partner areas
This page is for portal owners and administrators. The promise of a partner portal is that each partner sees what is meant for them and nothing that belongs to another. This page shows how Exponential keeps that promise with user groups, sections, subtree limitations and object states, and how to prove it before partners are invited.
Contents
- The building blocks
- Tiers with sections
- One area per organization with subtrees
- Audiences that change with object states
- Combining the models
- Sending partners to their area after sign-in
- Testing the separation
- Checklist
- Related pages
The building blocks
| Block | Role in a portal | Guide |
|---|---|---|
| User group per organization | the people of Partner A, Customer B | Roles and policies |
| Section | a tier or kind of content (Partner material, Gold tier) | Sections |
| Subtree | the folder of one organization | Roles and policies, 5 |
| Object state | an audience label that can change (Internal, Partners, Public) | Object states |
| Role | what a group may do, limited by the above | Roles and policies |
Every object belongs to exactly one section; a role can be assigned to a group with a Section or a Subtree limitation, and a policy can be limited by states. Several limitations of one policy must all be met; policies of several roles add up (Roles and policies, 3).
Tiers with sections
When every partner of a tier receives the same material:
- Create a section per tier, for example Partner material (
partner_material) and Gold tier (gold_tier) (Sections, 5). - Assign each tier's folder to its section with Assign content.
- Create a role Partner reader with
content/readfor Section( Partner material ) anduser/loginfor the portal siteaccess; assign it to the group of all partners. - Create a role Gold reader with
content/readfor Section( Gold tier ); assign it to the Gold partners group.
Moving a partner up a tier is one change: add the organization's group to the Gold group, or assign the Gold role to it. The section's page then lists every role and group that uses it, which helps reviews (Sections, 4).
One area per organization with subtrees
When each organization has its own documents (contracts, invoices, project files):
- Create a folder per organization, for example Partners > Partner A, in a section Partner private that no general role reads.
- Create one role Organization area with
content/read(and, if partners upload,content/createfor the File class) without a subtree in the policy. - Assign it to the Partner A group with a Subtree limitation on the Partner A folder; repeat per organization (Roles and policies, 5).
One role serves every organization; each assignment carries the organization's subtree. Removing a partner removes one assignment, and the role page lists every assignment with its limitation.
Warning
A subtree limitation follows the place in the tree. Content moved out of Partner A's folder is no longer readable by Partner A, and content moved into it becomes readable. Train editors to move partner content with care.
Audiences that change with object states
Some content changes audience over its life: a product sheet is internal while drafted, shared with partners before
launch, public after launch. A state group audience with Internal, Partners and Public expresses this:
- The partner reader role gets
content/readwithStateGroup_audience = Partners, Public. - The public Anonymous role gets
content/readwithStateGroup_audience = Public. - Product managers get
state/assignwithNewStatelimited to the states they may set.
Changing one state moves an item between audiences without moving it in the tree (Object states, 8). Remember that the first state of a new group is given to every existing object, so set existing public content to Public right after creating the group (Object states, 9 shows the same care for a review group).
Combining the models
| Content | Model |
|---|---|
| Material for all partners | section Partner material |
| Material for a tier | section per tier |
| Documents of one organization | subtree per organization in section Partner private |
| Items that move from internal to partners to public | state group audience |
Sending partners to their area after sign-in
site.ini [UserSettings] LoginRedirectionUriAttribute[group] names a text attribute of the user group class that
holds the address users of that group are sent to after signing in; [user] does the same per user (commented
examples in settings/site.ini, read by kernel/private/classes/views/user/login.php). With it, Partner A's people
land on Partner A's page. The attribute must be added to the class first; ask your partner to set it up.
Testing the separation
Before inviting partners, test as each kind of user, in a private browser window (Testing as a visitor):
| Signed in as | Must see | Must not see |
|---|---|---|
| Partner A user | Partner material, Partner A folder | Partner B folder, Gold tier (if not Gold) |
| Gold partner user | Gold tier | other organizations' folders |
| Visitor | public pages | anything of the portal |
Also check search, menus and file downloads for each, because all of them follow the same permissions. The command
./console exp:access:check asks the permission checks for another user from the command line
(Content policy limitations, In short).
Checklist
- To do: A user group per partner organization.
- To do: Sections for shared and tier material.
- To do: One organization-area role, assigned per organization with a Subtree limitation.
- To do: State group created only if audiences really change; existing content set to the right state.
- To do: Separation tested as at least two partner users and a visitor, including search and downloads.
- To do: A procedure for removing an organization's assignment when a contract ends.
Related pages
- Partner portal planning
- Departments, roles and sections
- Sections and object states for site builders
- Extranet permissions review
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.