Okay, then I'll most probably add a groups.xml file.

I use the database users as application users also. To make sure somebody cannot accidentally delete anything etc.

As well I am going to have to keep a record about file specific rights at application level.

Because of this I wanted to add the groups element.

Regards, Max


Am 29.07.2016 17:04 schrieb "Christian GrĂ¼n" <christian.gruen@gmail.com>:
> Any way to preserve changes in the users.xml ? Maybe allow for a
> <custom> section or similar?

Currently no. Maybe something like this could be added in a future
version. Indeed I had similar thoughts in the past. One problem might
be that this file is only parsed if BaseX is started (subsequent
changes at runtime will be overwritten if the file is updated by
BaseX). However, it could make sense to extend the User Module with a
function for handling custom user data. How do you currently work with
users?

> By the way: what was the reason users.xml is not stored as a basex
> database but on the file system?

I wanted to keep BaseX initialization as simple and fast as possible.