Sometime (always?), when you Drag & Drop an Image from your computer to
a Workboard Task, the File is not visible to other Task participants.
I sincerely don't remember from what moment this happened, but I'm quite
sure that this is not a new thing from Phorge.
There is an "attach" system. So we attach the File to the Task.
So, the File inherits the visibility permissions of the Task.
So, the File is automagically visible to persons who can see the Task.
Fortunately, the Attach system works perfectly also for Transformed images.
If you change permissions of a file, also its Transforms inherits these.
So, we make sure that the Workboard image (Transform image) is not generated
as an orphan but is always linked to the original file.
Before:
1. the original image (mentioned in the Task history)
- held default permissions of the File application, so, visible only to the author
- if you change their permissions, they don't change the Cover image permissions (super-confusing)
- becomes visible tuning its permissions, or, causing a manual attach (but visible only directory, not from Workboard)
2. the Cover image (internal Transform shown from Workboard)
- held default permissions of the File application, so, visible only to the author
- it was tricky to find that File ID to tune Cover image permissions, maybe easy only for a DBA
After:
1. the original image
- attached to the Task
- so, if you can see the Task, you can see this File and its Transforms
2. the Cover image
- it's finally recognized as Transform of the original image - as such, inherits its permissions
- so, it's visible to Task participants
Closes T15163
Closes T15703