<div dir="ltr"><div dir="ltr"><div dir="ltr">hey thx for the input.<div>I will start a separate discussion to discuss details.</div><div>I've jsut started collecting documentation about user accounts handling in mariadb.</div><div>found only this so far:<br><font size="2"><a href="https://stackoverflow.com/questions/8369253/grant-user-access-to-limited-number-of-tables-in-mysql" class="gmail-question-hyperlink">Grant user access to limited number of tables in MySQL</a></font></div><div>would be nice to get a central authentication service, such as an LDAP server involved, what runs anyway for the cloud etc. </div><div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">Le lun. 22 oct. 2018 à 18:59, <<a href="mailto:digikam@911networks.com">digikam@911networks.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I think that's it's "kind of possible" with some admin work.<br>
<br>
Lets assume that all the photos are in the /photos/ directory and<br>
each user is /photos/user1, /photos/user2.<br>
<br>
1. You will need to set the directories to be private.<br>
2. User master-digikam has to be to access them all.<br>
3. Set the "master-dk" to read all the photos/userX for all<br>
users and set the mySQL to external<br>
4. Set each user with their own digikam database, sqlite would be OK.<br>
5. Make sure that each dk-user writes the XMPs that would be read by<br>
master-dk.<br>
<br>
That way each user cannot see the other images, only their own, but<br>
master-dk could see everything.<br>
<br>
The other alternative would be everybody uses mysql/mariadb and sets<br>
the replication into master-dk with the "replicate-do-table". I have<br>
never done this in mysql but it works extremely well in SQL Server.<br>
<br>
Thanks<br>
<br>
Syv<br>
<br>
On Mon, 22 Oct 2018 11:25:10 +0200<br>
Dmitri Popov <<a href="mailto:lazylegs@gmail.com" target="_blank">lazylegs@gmail.com</a>> wrote:<br>
<br>
> Hi Stefan,<br>
> <br>
> Thank you for your kind words!<br>
> <br>
> > So I'm wondering if it is possible to show pictures and their<br>
> > thumbnails depending on the user account of the logged in local<br>
> > user? If possible without a rescan of the entire library. <br>
> <br>
> If I understand you correctly, then I don't think it's possible.<br>
> <br>
> Best,<br>
> Dmitri<br>
> <br>
> On Fri, Oct 19, 2018 at 4:23 PM Stefan Mueller<br>
> <<a href="mailto:stefan.mueller.83@gmail.com" target="_blank">stefan.mueller.83@gmail.com</a>> wrote:<br>
> ><br>
> > Hoi Dimitri,<br>
> > Thanks for your efforts, it's highly appreciated as I am<br>
> > intending to do the same thing, as digiKam would run on different<br>
> > machines.<br>
> ><br>
> > Doing all this, have thought about setting up a multiple user<br>
> > environment? Most of the pictures I take care of are common ones<br>
> > but some private ones of each user. So I'm wondering if it is<br>
> > possible to show pictures and their thumbnails depending on the<br>
> > user account of the logged in local user? If possible without a<br>
> > rescan of the entire library.<br>
> ><br>
> > Thank you<br>
> > Stefan<br>
> ><br>
> ><br>
> ><br>
> > Sent from a fair mobile<br>
> ><br>
> ><br>
> > Le ven. 19 oct. 2018 à 09:40, Dmitri Popov <<a href="mailto:lazylegs@gmail.com" target="_blank">lazylegs@gmail.com</a>> a<br>
> > écrit : <br>
> >><br>
> >> Hello,<br>
> >><br>
> >> I've finally moved my digiKam photo library to a NAS and migrated<br>
> >> digiKam's SQLite databases to MariaDB. I documented the entire<br>
> >> process here:<br>
> >><br>
> >> <a href="https://scribblesandsnaps.com/2018/10/19/use-digikam-with-a-nas-and-mariadb/" rel="noreferrer" target="_blank">https://scribblesandsnaps.com/2018/10/19/use-digikam-with-a-nas-and-mariadb/</a><br>
> >><br>
> >> Hope you'll find this useful.<br>
> >><br>
> >> Kind regards,<br>
> >> Dmitri <br>
<br>
<br>
-- <br>
sknahT<br>
<br>
vyS<br>
</blockquote></div>