Plone acl_users to check a given user's local role / John Kavanagh <jkavanagh@earthsat.com>
| Plone acl_users to check a given user's local role
John Kavanagh <jkavanagh(at)earthsat.com> |
2005-08-22 13:48:56 | [ FULL ] |
ZPUGDC: Using acl_users on a Plone content item, is there a function with the arguments userid and role that will return true/false if the given userid has the given local role on that content item? I'm familiar with getLocalRolesForDisplay. Unfortunately, it requires repeating across an entire local role list to match an individual user and additional function calls if that user has a role through a group. Anyone seen an elegant solution? [...] |
