guest-entries icon indicating copy to clipboard operation
guest-entries copied to clipboard

Handle 100k plus users

Open samhibberd opened this issue 4 years ago • 2 comments

We are running into an issue where the cp is having to handle 100k+ users being populated into a the author options dropdown. It's on sections that we don't need to enable guest entries for, but do need to allow the createEntries permission for the users group.

Not sure what the best way to handle:

  • Could there be a setting to only show users which have permission to access the cp?
  • Or an event to allow us to modify the authors query so we can tweak that?
  • Or only load the author list when guest entries are enabled for a specific section?

Thanks, Sam

samhibberd avatar Jun 25 '20 11:06 samhibberd

Duplicate: https://github.com/craftcms/guest-entries/issues/25

@samhibberd I ended up making the change via project.yaml.

timkelty avatar Jul 07 '20 13:07 timkelty

Another option would be to use the native selectize input to display, say, the first 100 options, and make the rest searchable.

Workaround in the meantime (as Tim points out) is you could edit project config directly.

angrybrad avatar Mar 10 '22 01:03 angrybrad