[Product-Developers] How to display borg.localrole in Sharing tab

Marcos Romero marcos.romero at inter-cultura.com
Mon Mar 26 11:44:35 UTC 2012


> On Fri, Mar 23, 2012 at 3:11 PM, Marcos Romero
> <marcos.romero at inter-cultura.com>  wrote:
>> I'm adding principals (users and groups) to existing roles
>> programatically via borg.localrole. I'd like those principals to be
>> shown under "Can read", "Can edit", "Can review" columns in the
>> Sharing tab.
>>
>> I don't wont to add new roles there, just to see people who
>> effectively have those roles,
>
> Override the sharing view to meet your needs, perhaps?
>
>> but not in the native way but via my
>> custom adapter.
> Can you elaborate?  As it stands now, any principals with existing
> local roles (that are also sharing page roles) will show up as rows in
> the sharing page grid.
>
> Do you mean that you have an ILocalRoleProvider adapter that stores
> the roles in a unconventional way that is somehow (??) in-accessible
> to the sharing tab?
Exactly.

*Marcos F. Romero*
Responsable de Desarrollo
Inter-Cultura

marcos.romero at inter-cultura.com <mailto:marcos.romero at inter-cultura.com>
www.inter-cultura.com <http://www.inter-cultura.com/>
+54 11 4542-8299


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plone.org/pipermail/plone-product-developers/attachments/20120326/989aaacf/attachment.html>


More information about the Product-Developers mailing list