Skip Navigation

[Resolved] Create user hierarchy for teams

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 1 reply, has 2 voices.

Last updated by Minesh 6 months, 4 weeks ago.

Assigned support staff: Minesh.

Author
Posts
#2353599

s1

I need to do the following:

- Add a "PARENT_ID" field to users ( ~ eg. ACF has this feature: hidden link )
- A user can create 'sub' users and only view/edit "his" users (= the users that have his USER_ID as PARENT_ID)
- Multiple levels (eg. user A -> sub user B with PARENT_ID of user A -> sub sub user C with PARENT_ID of B -> ...)

Example scenario:
- John is manager and has 2 team leads Sarah and Mike (= users with "PARENT_ID" of John)
- Sarah and Mike have multiple team members (= users with PARENT_ID of Sarah or Mike)
- Team leads Sarah and Mike can only edit/view their team members
- Manager John can view/edit anyone 'below' him (team leads and team members below them)

Is something like this possible with Toolset? And if not: what are your suggestions?

Thank you!

#2354051

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

There is no such feature available with Toolset to create such user hierarchy.

Toolset offers addon plugin Toolset Access which works based on role. You can create different roles like managers team leaders and assign the desired capabilities to those roles.

Please check the following Docs:
- https://toolset.com/related-lesson/access-control/
- https://toolset.com/course-chapter/member-login-and-account-management/
- https://toolset.com/course-chapter/controlling-access-to-content-in-directory-sites/
- https://toolset.com/lesson-placement/lesson-placements-1622969-1655453/