-
-
Notifications
You must be signed in to change notification settings - Fork 317
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow other users to upload to shared albums #383
Comments
For now, the only workaround is to create a shared account and broadcast the password to your friends. Or, if it's only two people and one of them is a Lychee admin, that should also work, provided that the album belongs to the non-admin user. We've also had a suggestion (I can't seem to find it in the issues right now, however) of a secret URL that could be used by everybody for uploads only. Overall, I can't think of a technical reason why we couldn't implement album sharing in read-write mode (in addition to the current read-only mode). Maybe as part of the rework of the sharing dialog (LycheeOrg/Lychee-front#104) which is currently pretty ugly... |
Thank you for your quick response and your ideas. 👍 We will try a shared account once. I would be happy if such a function would land one day in Lychee, but I am aware that you are working on this project in your spare time. |
We need this! |
We are also open to PR. 😉 |
I'm actually interested in working on this but I promised myself that I won't implement any new features until after the 4.0 release is out 😃. |
Context:
Now we are using shared admin account. |
Sub-album per user in a album is too complicated (from an ownership management point of view). |
I just meant that I want that everybody should have read and write privileges on shared folders. Isn't it the album creator who is the owner and sets the license? then shares that with other users and they can create sub-album and own that. |
The problem that goes then is the access rights... What if I create an album B inside another album A. It may sound simple at first glance, but behind the scene it is pretty complex, we did lots of works to simplify this, adding another layer of complexity would not be really convenient. It its current state ownership is the ownership of the album. It is simpler. If you want to give credit, you can still use the descriptions. |
I'm with @ildyria on this one. I worry that mixed ownership of albums would quickly turn into a horrible mess. If album A of user A contains a subalbum B of user B, then is user A allowed to delete album A? It's their album after all but it now has contents that does not belong to them... When we were working on this, we decided that even admin is not allowed to create such a situation. Any moves of photos or albums between users changes the ownership to the owner of the destination album. It makes things so much simpler... Similarly, my instinct is that if we implement writable shared albums, any content created within a shared album by other users should belong to the owner of that album. Newly created subalbums will need to inherit the sharing properties of the parent album, of course. |
Agreed. Though if we allow users with write access to create subalbums (or make that an option), they would still be able to store them in a tree as described. |
I am a developer so I know how complexity works its mysterious ways :) So basically first we need to explain everything that is happening so that we get clear picture what to do and agree on that. After that we can try to implement it if it's something we want to do. I think i'll sacrifice few brain cells for this on the weekend and try to invent the best solution. |
Sure. This is a volunteer-driven project and we welcome contributions from others. A comprehensive proposal for mixed album ownership needs to cover, for instance:
I'm sure the above list is incomplete but it's a start... |
apparently the weekend is year later :D What if these are the general rules:
Then there is the matter of tree structure:
Basically we distinguish the tree settings from the album settings. This way we could have the move folder dialogue as it's own page with drag & drop functionality. Owner always has access to their folders from the albums marked under their name (like it is now) and that folder can be linked anywhere in the tree (by anyone if it is public?) What do you think? |
No worries, there is no hurry. I would say that most of the active developers are quite busy with their own life (kids popping up everywhere / PhD Thesis...)
👍
I am not in favor of mixed album ownership. This complexifies the back-end significantly, especially with respect to access control.
As expected.
That was indeed something I wanted to implement at some point.
Folder duplication by itself should be a separate issue, but I think it should be added. 👍
👍 That is something we currently ensure.
Assume:
What happens if User A deletes album A ?
TL;DR:I am not in favor of separating the tree structure from the album structure. (sorry) Aside from adding complexity, it also makes Lychee less understandable as this creates "exceptions" rules.
I am however in favor of adding the possibility to make albums writable, currently they are only readable, I would not be against adding a write parameter. :) PS: adding drag&drop would be great, even just for pictures, but this should probably just be a front-end PR and a separate issue. 👍 |
I think that the separating the tree structure from the ownership of the albums removes complexity. We wouldn't need to think who owns what. The tree structure is just a way to build the view for the albums. User should be able to make their own trees too like you described in your hidden-visible combo. Tree structure by design also gives answer to the remove of branch problem and there is libraries that you can use for that. It is really easy to use too. For example: http://mikehillyer.com/articles/managing-hierarchical-data-in-mysql/ or/and https://github.com/Atlantic18/DoctrineExtensions/blob/v2.4.x/doc/tree.md |
So my point is that it would not create "exception" rules as we would not need to think how you described it in your details. I played with this: https://codepen.io/phphe/pen/KRapQm and came up with this: I just think you should evaluate this again without thinking how things work now.. |
@ildyria have you thought about this? |
Just wondering. What is situation with this? |
The situation is that we are missing time & contributors. 😐
Le 5 mai 2021 à 09:28, à 09:28, "Harri Häivälä" ***@***.***> a écrit:
…Just wondering. What is situation with this?
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#383 (comment)
|
We would also be very interested in such an option, we use Lychee in a collaborative framework in our association and currently only the president can put images in all folders, which is really inconvenient, it forces him to be constantly disturbed. Being able to give different members access to certain albums would be a significant addition for our organization =) |
I just set up lychee on a home server after testing a few options and this is the only feature I'd really like to see implimented. |
Guessing this isn't going to happen? :) |
It is, but wie have other priorities right now. Feel free to send a PR :) |
This has been closed. Is there some hoops I need to go through so that I can have albums I described in this issue? I have installed 5.0 but have not played around with the new system yet. |
On |
Can you open a new issue on that @pichouk ? |
I and some friends are happy to share our pictures about Lychee. When we're together we take all the photos and then it would be nice if we could put all our photos into one album.
The problem with this is that users can only upload photos to their albums.
So it would be cool if other users could upload to shared albums.
The text was updated successfully, but these errors were encountered: