hi, i'm quite a newbie to basex (and generally xquery)
a simple question (i'm not finding answers in the wiki): how i can grant a read permission to an anonymous (no password) user? the common use case is to access raw xml files via rest /rest/{db}/{file.xml}.
this don't work:
grant read on [db] to *
Admin user cannot be modified.
as a solution i was thinking to proxy basex through nginx and use "proxy_set_header Authorization"
thanks
PS/ my first attempt to learn xquery is here, into a jupyter notebook maybe is interesting for someone: https://github.com/atomotic/bni-xquery/blob/master/bni-xquery.ipynb