guest-entries
guest-entries copied to clipboard
Handle 100k plus users
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
Duplicate: https://github.com/craftcms/guest-entries/issues/25
@samhibberd I ended up making the change via project.yaml.
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.