Hi,
My current snapshot is the BaseX80-20150108.170819 one. I deployed its war version in my Tomcat server.
Now, i get errors with the command line client too:
1 - basex war deploiement. No db, no users.xml 2 - With the command line client: > create database plop_db > create user plop (users.xml created) > grant read on plop_db to plop (users.xml modified with read permissions for plop on plop_db [1]) >show users on plop_db Username Permission -------------------- plop read > exit 3 - Tomcat restart 4 - With the command line client: > show users on plop_db Username Permission -------------------- plop none
while the users.xml did not change [1]
------------------------------------------------------- [1]: <user name="plop" permission="none"> <password algorithm="digest"> <hash>c3211e9a5166ba8e4d3221e797fe5096</hash> </password> <password algorithm="salted-sha256"> <salt>...</salt> <hash>...</hash> </password> <database pattern="plop_db" permission="read"/> </user> ------------------------------------------------------- How could my client return "none" permission while the users.xml file contains "read" ones?
Could you advice me on which stable version (on user permission managment) i should use ?
Hope this helps.
Regards.
Jérôme
Le 08/01/2015 14:54, Christian Grün a écrit :
Hi Jérôme,
I have just uploaded a new snapshot; could you try it?
If it does not solve the problem, I would be interested to hear if…
- the users.xml file is created, or modified, after creating a new user
- if yes, if this file is changed after granting the read permission
- if yes, if the read permission can be found in that file
Thanks in advance, Christian
[1] http://files.basex.org/releases/latest
On Tue, Jan 6, 2015 at 4:48 PM, Jérôme Chauveau jerome.chauveau@unicaen.fr wrote:
Hi,
Here a "bug" I found (tested with the last release snapshot of the day) when using the DBA frontend (my BaseX server is embedded in a Tomcat ):
a - I created a new user "myUser" from the DBA frontend b - I granted this one on a DB with local READ permissions
Everything was fine until I restarted my Tomcat: the myUser's privileges has been reset to NONE.
Hope this feedback helps.
Regards.
Jérôme.
-- Jérôme Chauveau - SAIC-CERTIC - Campus 4 Université de Caen Basse-Normandie