Hi Matthew,
Thanks for providing me access to your fork. I’ve done some quick tests, and I noticed the following:
• The Database panel should only list those databases that a particular user has access to.
• It must not be allowed to run queries like admin:logs() unless you have 'admin' permissions. More generally, the permissions used for running queries must not be more powerful than those of the current user.
• The Jobs panel must be limited to Admin users; at least that’s how our current permission model is designed (the current solution could possibly be enhanced, such that users with fewer permissions could see their own jobs).
You can either try the BaseX client to find out what users with fewer permissions are allowed to do, or you can look into the code [1].
Hope this helps; feel free to ask for more details,
Christian