Before I go attempt to write something like this, has anyone developed the idea to batch add users in the collection project filters any further? See @pisum’s suggestion (and example code for the OAuth stuff) to make a single-page app with PKCE OAuth flow here: https://forum.inaturalist.org/t/batch-add-users-to-collection-project-filters/8086/4
The iNat Discord has several projects managed by the Discord mod team. Whether or not the users actually follow the projects, if they indicated to us that they wanted to be included, we add them to our rules so their observations are included. Each year, we prune enrollment so it continues to reflect who is actively still participating on Discord.
Given that as background, “Project Members Only option” that @tiwane suggested wouldn’t work for our use case:
- Our user rules are based on Discord activity, not project membership.
- Our team would like to do periodic reviews of the iNat Discord server membership and handle changes to the Discord iNat project user rules based on their current status effortlessly.
- I’d rather not have my iNaturalist Discord bot do any authenticated requests, but it could easily produce the list of iNat user_ids for the SPA to consider.
Therefore, I’m considering actually writing something like this, but don’t want to duplicate work already done. Any suggestions for existing code I could look at that resembles (even vaguely) a solution to this problem in any fashion?