Hi Marco,
do you have any idea on the performances of the users module that comes with BaseX? Does it work properly with a count of users up to several hundreds? thousands? Any tests done so far?
I don't believe you should run into troubles here. I haven't done any performance tests so far, but the users.xml file will only be parsed once when starting BaseX. Next, all users are stored in a hash map [1], and even with a simple list, it should be fairly quick to browse a list of a few 1000 users. Thirdly, since BaseX 8, we are working with database patterns, so if you have thousands of databases starting e.g. with the string "db", you can grant a single pattern to a users to access all of theses databases with specific permissions.
Well, this is theory.. I'd like to hear more about your practical experiences! Christian
[1] https://github.com/BaseXdb/basex/blob/master/basex-core/src/main/java/org/ba...