17 Feb
1999
17 Feb
'99
5:30 p.m.
Hmmm... [userobject].hasRole doesn't need the _.None. The definition actually is: hasRole(list_of_roles) Returns true if user has one or more roles from list_of_roles. So yo ucan test on AUTHENTICATED_USER.has_role(['Manager', 'Editor']), for example. -- M.J. Pieters, Web Developer | Antraciet http://www.antraciet.nl | Tel: +31-35-6254545 Fax: +31-35-6254555 | mailto:mj@antraciet.nl http://www.antraciet.nl/~mj | PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149 ------------------------------------------