Off the top of my head: On 08/31/2011 10:16 AM, Marius Dumitru Florea wrote:
Hi devs,
I need your feedback regarding two use cases:
(A) /view/Space1/PageWithPR?sheet=Space2.SheetWithoutPR
Drop permissions when rendering the sheet, right?
it only seems normal to me too...
(B) /view/Space1/PageWithoutPR?sheet=Space2.SheetWithPR
How often did you write class/document sheets requiring programming rights?
The pb is not how often, but if there's one usecase and we'd make it impossible by this approach, without having a workaround for it. I think there might be cases when you need a sheet with programming rights...
I don't think it's possible/safe to keep PageWithoutPR as context document and render SheetWithPR using programming rights.
I cannot think of usecases right now, but I would make it behave like {{include}} with context=old, because this is the way we used sheets before... (which I think means not having pr for Space2.SheetWithPR) Happy coding, Anca
WDYT?
Thanks, Marius _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs