24 Mar
2000
24 Mar
'00
10:02 a.m.
I tried sticking <dtml-var get_local_roles> in a dtml document and got a blank list back even though I know I've got some local roles.
Hmm. That's not what happens for me. I get something like: [('admin', ['Owner'])] How do you know you've got some local roles? Also, is this a DTML document or DTML method, because methods seem to acquire the roles from their container.
Also, where did you find out about this? I haven't found it documented anywhere...
It's all in AccessControl/Role.py. IMO the documentation is just a good place to figure out where to start reading the code. ;) -jfarr