On 07/13/2010 10:22 AM, Ariel Nunez wrote:
> I have added a property that returns a collection (of pocs and mds), 
> it is in the metadata branch since yesterday.
Ariel and I just discussed these properties in the channel.  We 
discussed requirements a bit -

   * Some roles, like "admin" and "user," should allow multiple 
associations between a particular layer and contact
   * Other roles, like "author" and "point of contact", should allow 
only a single association between a particular layer and contact.

So we will be allowing multiplicity at the database level, and enforcing 
uniqueness in the model's clean() method for those roles that require 
it.  The UI will continue to display one fixed field each for the author 
and poc contacts, with a more general 'associated contact' editor to 
come in a future iteration.

With this in mind, my objections to the .poc and .author properties go 
away, so the revised metadata management branch should be hitting master 
sometime today.

--
David Winslow
OpenGeo - http://opengeo.org/

Reply via email to