Ref T8493. Add Spaces support to Pholio.
This is straightforward; Pholio has no clone/copy/fork or weird parent/child stuff going on.
Differential D13231
Support Spaces in Pholio epriestley on Jun 9 2015, 11:56 PM. Authored by Tags None Referenced Files
Subscribers
Details
Ref T8493. Add Spaces support to Pholio. This is straightforward; Pholio has no clone/copy/fork or weird parent/child stuff going on. Created a mock, put it in a space, looked at it as another user, searched for stuff in spaces, viewed Macros.
Diff Detail
Event TimelineComment Actions Just double checking the images that comprise a mock are also "space'd" properly by this change.
Comment Actions
Yeah, we generally get this automatically: when you load an image, we also load and attach the mock. If you can't see the mock, we filter out the image. So moving a mock to a space you can't see is sufficient to hide the image, as well, for the same reason that setting the mock to "visible to: only me" is also sufficient to hide the image. (If some future diff let you interact directly with images that a different viewer might have loaded [for example, we let you write Herald rules directly against Images or something], we'd need to implement PhabricatorExtendedPolicyInterface to avoid T7703, but there's no way to hit that currently and I don't anticipate adding one any time soon / ever.) |