Forum OpenACS Q&A: Unable to approve members from within a subsite

I have a host-node mapped subsite with a theme applied. I don't want my subsite users or admins to leave the subsite.

When someone self-registers from inside the subsite (/subsite/register), they are required to be approved.

However /subsite/members does not show the users awaiting approval. This is the case even when logged in as SWA.
It appears there are no users in that state attached to the subsite application group.

Main site members (/members) does show it, but the theme is wrong and I do not want to give my subsite admins this level of access.

Can members be approved from inside a subsite?

Collapse
Posted by Dave Bauer on
Yes, but as you noticed the UI does not support this.

The split of site-wide and subsite admin is not clear, and it only really works correctly if you only use the main subsite, and site-wide admin together.

Basically you only want to let the subsite admin deal with members of that subsite, but main subsite admins could still approve all members of the site.

Collapse
Posted by Ryan Gallimore on
Ok, but it looks like when in needs_approval state, the member is linked to the main site application group only, not the subsite he was registered for. So he doesn't appear in the subsite/members query.
Collapse
Posted by Dave Bauer on
Check that the registration form is actually adding the user to the subsite.

Every registration adds the user to the main subsite, and in your case, you probably want to not require approval for the main subsite, but only for the host node mapped subsite.

Collapse
Posted by Ryan Gallimore on
Hmmm ok, I will give that a try. Currently both main site and subsite have the requires approval flag set.

Thanks, Dave.