[EMAIL PROTECTED] wrote:
> I'm using cloudcontext security. Now I want to create a relation from my
> own builder 'person' to the supplied 'mmbaseuser' builder. It's nicely in
> my application.xml allowedrelations like so:
> 
> <relation from="person" to="mmbaseusers" type="related" />
> 
> However, my_editors seem(s) unaware of this relation and when I try to
> mm:createrelation it complains:
> 
> Source and/or Destination node are not of the correct type.
> (person,mmbaseusers,related).
> 
> What am I doing wrong? Role == type, right?

Is this relation type visible in the 'typerel' table (also in generic
editors)? Otherwise, I'd say something went wrong with the deployment of
your application.

It is this table what defines your allowed relations, not your application
XML, which is only an aid for populating your tables, for redeploying such
an XML you might need to delete an entry from the version control table or
so.

Michiel


-- 
Michiel Meeuwissen
Mediacentrum 140 H'sum 
+31 (0)35 6772979
nl_NL eo_XX en_US
mihxil'
 [] ()

Reply via email to