[Product-Developers] Whats the role/function of borg.localrole package in Plone 4.1?

Noe Nieto nnieto at noenieto.com
Thu Aug 11 02:47:59 UTC 2011


Thanks for the input. And for the links also :)


2011/8/10 Gilles Lenfant <gilles.lenfant at alterway.fr>

> Le 10 août 2011 à 18:50, Noe Nieto a écrit :
>
> > Hi, I'm developing some functionality that requires the use of local
> roles.
> >
> > I see that borg.localrole is included with the Plone 4.1 distribution.
> What function does it perform on a vainilla plone?
>
> Nothing (in a vanilla Plone) ;)
>
> More seriously, borg.localrole grants additional roles if you provide an
> adapter for your contents that implement
> borg.localrole.interfaces.ILocalroleProvider.
>
> This means that you need to put some code in your Plone site or add-on to
> have the effect of this plugin.
>
> Read the doctests in its various modules to see how this works. Have a look
> at the code in
> https://svn.plone.org/svn/collective/collective.groupspace.roles/ to see
> how it's used in real life.
>
> --
> Gilles Lenfant
>
> >
> >
> > --
> > ---
> > Noe Nieto
> > NNieto Consulting Services
> > M: nnieto at noenieto.com
> > W: http://noenieto.com
> > T:  @tzicatl
> > Li: Perfil en LinkedIn
> >
> > _______________________________________________
> > Product-Developers mailing list
> > Product-Developers at lists.plone.org
> > https://lists.plone.org/mailman/listinfo/plone-product-developers
>
>


-- 
---
Noe Nieto
NNieto Consulting Services
M: nnieto at noenieto.com
W: http://noenieto.com
T:  @tzicatl <https://twitter.com/#%21/tzicatl>
Li: Perfil en LinkedIn <http://www.linkedin.com/profile/view?id=84300665>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plone.org/pipermail/plone-product-developers/attachments/20110810/cc5e5280/attachment.html>


More information about the Product-Developers mailing list