Open jodevelops opened 11 years ago
This is due to the fact that, for solving https://github.com/eXist-db/tamboti/issues/28, I had to use function sm:get-account-metadata() [1], which did not specify that the user has to be in DBA group, in order to get other accounts' metadata.
So, we do have to sacrifice the showing of real names, unless we can execute this function as admin (or so), or grab that metadata from somewhere else.
Thoughts?
If it is grabbed from somewhere else it will need to be updated all the time, which is not good. Dulip, what do you think about hard-coding the admin password?
Or, I guess (as this has to be tested), one can add the "editor" user to "dba" group during installation of tamboti, but this would limit the user installing tamboti to users belonging to "dba" group.
Claudius, I mailed you and jens the suggestion. Adding editor to the dba group, is not so handy, cause it will give the editor the access to other areas. I would sepearate app user groups from dba.
Hm, on the other hand, this would mean that third parties installing tamboti, would have to hard-code the admin password, too?
Not really, It must not be the admin password, it should be any user with admin rights for executing db functions. Difference is, it is not the user, but the group which controls the access in tamboti and wiki : non-admin group for apps and resources and the users in that group get reading access to apps and resources. Admin user binding for executing dba-functions if necessary. Would have been better, if certain database functions could be assigned to a group other than dba user. But that is a discussion, which should go to eXist mailing list.
When creating a new folder, i get an error instead of my new folder:
(the folder created was entitled "testfolder-1 within "Samples")
However, as soon as a SECOND folder is created, BOTH are visible/ accessible, etc.:
This may have to do with #30