Hi,
I have what I think is a fairly simple use case for my Plone site. I want to
be able to add a local role dynamically based on two factors - the content of
the object, and a given external condition. So I've written a local role
plugin, where getRolesInContext() checks these two factors
a quick way to check this and roles in general, is put together a python
script that shows the users roles and permissions in context, as a quick
example, here's one i use on occassion (check_roles).. and just invoke by
in the url after the context, by appending check_roles.
member =
a quick way to check this and roles in general, is put together a python
script that shows the users roles and permissions in context, as a quick
example, here's one i use on occassion (check_roles).. and just invoke by
in the url after the context, by appending check_roles.
member =
Previously Stan McFarland wrote:
a quick way to check this and roles in general, is put together a python
script that shows the users roles and permissions in context, as a quick
example, here's one i use on occassion (check_roles).. and just invoke by
in the url after the context,
Wichert Akkerman [EMAIL PROTECTED] writes:
Use a dynamic group.
Wichert.
Wichert,
Thanks for the response. I can see where there's some similarity in the
notion of adding a role to a user dynamically and adding a user to a group
dynamically, assuming that the group has the