While working on this, I realized that BaseX' permission attributes unfortunately lack a small feature that would be quite useful: The "perm" parameter to the checking function provides the method and the path, but unfortunately not any URL parameters.
In my case, I would like to remember the URL (including parameters) the user called before I redirect him to the authorization server to login, so I can afterward redirect him to the page he actually wanted.But in a more general context, I can imagine it would also be useful to do permission checks on the parameters, too. Or maybe I missed something?Kind regardsJörn Willhöft