• Resolved benorange

    (@benorange)


    Hi,

    I am looking for support to allow parents with multiple children accounts to view course results together. Thanks in advance.

    This seems to be the most powerful tool I have found for adding relational functionality to wordpress. I am really interested in the desciption,

    Relate to User Roles or Capabilities

    . Our use case is as follows.

    Imagine 2 siblings attend the same course, we are working towards the parent being able to see both childrens’ uploaded results in one place without having to log in twice to compare the results.

    Does anyone have advice about how we could use this plugin to allow parents to see data/results from more than one user account at the same time?

    If that question is too broad then simply do you think I could achieve this with pods?

    Bw,
    Ben

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @benorange

    I would create a multiple bidirectional relationship field from the parent to their children.
    Furthermore, in terms of access, I wouldn’t count on the capability system to cover your needs as this is created for a whole object type, not single objects.
    You’ll have to create your own access handling by hooking into map_meta_cap (https://developer.wordpress.org/reference/functions/map_meta_cap/).
    That way you can filter east post request and revoke access if it’s trying to access something it shouldn’t (for example, data from another child).

    Cheers, Jory

    Thread Starter benorange

    (@benorange)

    Hi @keraweb,

    Thanks for the link, I will consider access control. I didn’t understand everything so will do some more learning and leave this open for now.

    Bw,
    Ben

    Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @benorange

    No problem!
    I actually created a similar type of project before and access control can get quite complex fast. You will definitely need some more advanced experience for such a tool.
    Alternatively you might be able to utilize some existing access control tools like Restrict User Access (free) or MemberPress (pro).

    Cheers, Jory

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Family users’ is closed to new replies.