[Zope-dev] Attribute providers for Specialists

2001-03-06 Thread Johan Carlsson
Hi, As I understand it Specialist can't get there attributes from a provider? For instance, the LoginManager knows about roles and domains, I would like to get this from attributes but I don't want to be able to get them from an attribute provider. In that way I can make a GUI interface th

[Zope-dev] Re: [Zope-PTK] Announcement: CMF 1.0 beta released

2001-03-06 Thread Johan Carlsson
Tres, The link to http://cmf.zope.org/Members/jshell/security_info.patch seems to be broken in the http://cmf.zope.org/download/CMF-1.0beta/README.txt. Regrads, Johan Carlsson > We are pleased to "release version 1.0 beta", > http://cmf.zope.org/download/CMF-1.0beta of the Zope Conten

Re: [Zope-dev] Implementing ZPattern: Containment

2001-03-06 Thread Johan Carlsson
> Hi Johan, > >Have a look at http://www.zope.org/Members/sspickle/DumbZPatternsExample > > The best way I've found is to provide a method (or methods) in the > Specialist of the contained item to get ids of those instances satisfying certain > criteria... > > e.g., getToDoIdsFor

[Zope-dev] Announcement: CMF 1.0 beta released

2001-03-06 Thread Tres Seaver
We are pleased to "release version 1.0 beta", http://cmf.zope.org/download/CMF-1.0beta of the Zope Content Management Framework (CMF). Please review the "release notes":../README.txt and the "known issues":../ISSUES.txt. >From the README: What is the CMF? The Zope Content Management Fra

Re: [Zope-dev] TransWarp preview release (AOP tools only)

2001-03-06 Thread Shane Hathaway
"Phillip J. Eby" wrote: > > At 12:39 PM 3/2/01 -0500, Shane Hathaway wrote: > >This could be achieved by generating a new Python module for each portal > >instance, but that would mean sys.modules would have to be pre-loaded > >with the information about each portal instance and that's not the ZO

Re: [Zope-dev] Implementing ZPattern: Containment

2001-03-06 Thread Steve Spicklemire
Hi Johan, Have a look at http://www.zope.org/Members/sspickle/DumbZPatternsExample The best way I've found is to provide a method (or methods) in the Specialist of the contained item to get ids of those instances satisfying certain criteria... e.g., getToDoIdsForDoer( aDoer ) (the conta

[Zope-dev] Implementing ZPattern: Containment

2001-03-06 Thread Johan Carlsson
Hi, How could containment be implemented with ZPatterns. Container -n-1- ContainedItem -n-1- ContainedSubItem I suppose there would be a Containter Specialist containing a ContainerItem Specialist. But Specialists retrieve objects by IDs so there would also be a list of Contain

[Zope-dev] LoginUser and Dictionaries

2001-03-06 Thread Johan Carlsson
Hi, I'm working on a User object that will support Groups and Groups-to-Roles mappings. I modeled it a bit and come up with this model: (I use Coad's constraints notion, putting constraints with the item the constrain) User -n--n- Role | n | | 1 GroupRoleItem -1- n-