Jump to content

I cant setup sub-members


cb2004
 Share

Recommended Posts

I have a site where the members are organisations, I have setup these members using:

https://processwire.com/blog/posts/processwire-core-updates-2.5.14/#multiple-templates-or-parents-for-users

That way we have nice access control. Those organisations would like to give access to employees, so I went through the process again and thought these could be added below the organisation, but this time I didnt add to the $config->usersPageIDs as these would all be different (the main organisation). Everything works ok, but the user cannot be found by using $users->find("email=address"), so I cant log them in, it can be found with $users->get(2365). I have tried adding check_access=0 but nothing seems to be working, any ideas?

Link to comment
Share on other sites

Not really sure off the top of my head, but perhaps it might work with $pages->find("email=address"). You might want to also limit to the relevant template(s).

I have used this feature on occasion but honestly it doesn't feel very polished.

Link to comment
Share on other sites

Yes I did try that as well, I think because there is no parent its throwing it off. Will have to be a normal template I guess with email and password field and set a cookie when they login rather than check the member role.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...