plone / Products.CMFPlone

The core of the Plone content management system
https://plone.org
GNU General Public License v2.0
254 stars 191 forks source link

Excluding an user takes too long #1942

Closed hvelarde closed 7 years ago

hvelarde commented 7 years ago

I have a site with hundreds of users belonging to a group and I want to exclude one; I'm using an intermediate proxy (Cloudflare).

What I did:

I accessed https://www.example.com/@@usergroup-userprefs, looked for the user and tried to exclude it.

What I expect to happen:

The user must be excluded.

What actually happened:

A timeout screen was shown in the intermediate proxy and the user was not excluded.

What version of Plone/ Addons I am using:

Plone 4.3.11.

mauritsvanrees commented 7 years ago

Just checking if I understand it correctly. With 'excluding' a user you mean removing him or her from the group?

So you are saying that going to the group and removing a user there takes far longer than going to a user and removing the group?

Obligatory question: is this site using LDAP?

hvelarde commented 7 years ago

my mistake, @mauritsvanrees; in fact you're right and I was just removing the user from the group and not the user from Plone (what I really want); more information:

hvelarde commented 7 years ago

more information: IIRC, the only different thing from a vanilla Plone is we have an adapter that adds a new field to all users.

mauritsvanrees commented 7 years ago
hvelarde commented 7 years ago

those users don't have any local roles; is there any way to speed up the process? can we process this asynchronously?

mauritsvanrees commented 7 years ago

I knew I had answered roughly the same question a while ago somewhere. So I searched and came up with this community post by you. :-)

hvelarde commented 7 years ago

holy cow! I'm getting old ;-)