On Wed, Aug 31, 2011 at 11:41 AM, Anca Luca <[email protected]> wrote:
> 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)

So rendering the Space2.SheetWithPR without programming rights when
the target document doesn't have programming rights is acceptable in
your opinion right?

I suppose that when you create a sheet that requires programming
rights you make sure all pages that use that sheet have also
programming rights.

Thanks,
Marius

>
> Happy coding,
> Anca
>
>> WDYT?
>>
>> Thanks,
>> Marius
>> _______________________________________________
>> devs mailing list
>> [email protected]
>> http://lists.xwiki.org/mailman/listinfo/devs
>
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
>
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to