答复: [zope-chinese] 怎样能够在一个product里 面设置默认权限

"Gary Jia" <[email protected]>
Newsgroups gmane.comp.web.zope.chinese,gmane.spam.detected
Message-ID <[email protected]>
研究一下cmf 或者 plone是怎么做的,应该可以找到你想要的东西。我两年以前做过
cmf的扩展,你可以看一下,CMFDefault/Portal.py
应该能找到你要的。 

-----邮件原件-----
发件人: [email protected]
[mailto:[email protected]] 代表 mike gaul
发送时间: 2004年8月10日 17:02
收件人: [email protected]
主题: [zope-chinese] 怎样能够在一个product里面设置默认权限

编写了一个简单的product,可是不知道怎样能够为这个product的
一些方法等添加权限。
我希望能够做到:
1.添加一个role
2.为这个product添加各种role的默认权限。

希望哪位知道的给点指点。谢谢!

_________________________________________________________
Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂
http://music.yisou.com/
美女明星应有尽有,搜遍美图、艳图和酷图
http://image.yisou.com
1G就是1000兆,雅虎电邮自助扩容!
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1
g/
_______________________________________________
zope-chinese list
[email protected]
http://zope.cn/mailman/listinfo/zope-chinese

_______________________________________________
zope-chinese list
[email protected]
http://zope.cn/mailman/listinfo/zope-chinese
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.