zopyx
(Andreas Jung)
1
I am trying to get an role adapter running within an almost bare Plone 4.3 site on top of borg.localrole and this documentation:
http://docs.plone.org/develop/plone/security/dynamic_roles.html
- rolemap.xml importered properly
- adapter installed properly
During a standard Plone request I can not see any invocation of my own adapter nor any invocation of the borg.localerole default adapter.
'borg_localrole' plugin is registered and activated for ILocalRolesPlugin in acl_users...but no impact.
Is there some additional magic need for making borg.localrole actually work?
-aj
datakurre
(Asko Soukka)
2
It should work OOTB, but is called only for authenticated users.
zopyx
(Andreas Jung)
3
Loggined as root, don't see any invocations.
I grepped for ILocalRoleProvider through all installed eggs and found only some references in borg.localrole and plone.app.workflow.
-aj
datakurre
(Asko Soukka)
4
Not sure, if it affects that admin is defined in the root user folder. If you didn't find this already, try stepping:
zopyx
(Andreas Jung)
5
getRolesInContext() is only invoked while creating a new Plone site but not for subsequent requests within this site.
-aj