[Zope3-Users] How to assign a role or permission to users programatically?

Yuan HOng hongyuan1306 at gmail.com
Mon Sep 3 23:09:29 EDT 2007


RGVhciBsaXN0LAoKSSBoYXZlIHdyaXR0ZW4gYSBjdXN0b20gYXV0aGVudGljYXRvciBwbHVnaW4g
dG8gYXV0aGVudGljYXRlIHVzZXJzCmFnYWluc3QgYSBQb3N0Z3JlcyBkYXRhYmFzZS4gVGhlIHF1
ZXN0aW9uIGlzLCBvbmNlIGEgdXNlciBpcwphdXRoZW50aWNhdGVkLCB3aGF0IHJvbGUgb3IgcGVy
bWlzc2lvbiBkb2VzIHNoZS9oZSBnZXQ/CgpJZiBJIHdvdWxkIGxpa2UgdG8gZ2l2ZSB0aGUgcGVy
bWlzc2lvbiAnc2l0ZS5NZW1iZXJQZXJtaXNzaW9uJyB0byBhbGwKdXNlcnMgd2hlbiB0aGV5IGxv
ZyBpbi4gSSBkb24ndCB3YW50IHRvIHN0b3JlIHRoZSBwZXJtaXNzaW9uIGEgYQpwZXJzaXN0ZW50
IGZvbGRlciBsaWtlIG9iamVjdCwgYnV0IGp1c3QgYXNzaWduIHRoZW0gb24gdGhlIGZseSB3aGVu
CnRoZSBsb2cgaW4uCgp3aGF0IHNoYWxsIEkgZG8/CgpUaGFua3MgZm9yIGhlbHBpbmcuCgotLSAK
SG9uZyBZdWFuCgq087ncvNLN+MnPvaiyxLOsytAK17DQ3tew5Oq9qLLE0rvVvsq9ubrO7wpodHRw
Oi8vd3d3LmhvbWVtYXN0ZXIuY24K


More information about the Zope3-users mailing list