[Yanel-usage] Problems with adding a new realm

Michael Wechner michael.wechner at wyona.com
Mon Jan 8 09:35:17 CET 2007


Josias Thöny wrote:

>On Fri, 2007-01-05 at 22:53 +0100, Andreas Wuest wrote:
>  
>
>>Hi
>>
>>On 5.1.2007 22:44 Uhr, Michael Wechner wrote:
>>
>>    
>>
>>>Andreas Wuest wrote:
>>>
>>>      
>>>
>>>>Hi
>>>>
>>>>After pulling my <realm/> up above the test realm, it now works.
>>>>
>>>>Does Yanel somehow depend on the order in which realms are listed in 
>>>>the realms.conf?
>>>>        
>>>>
>
>BTW, there is a note in realms.xml about the ordering.
>But I agree it's not very intuitive...
>  
>

well, but it's prominent (IMPORT NOTE ;-)

>  
>
>>>yes. The very last realm is the "root" realm. Also see the root=true 
>>>attribute ;-)
>>>      
>>>
>>So, why, if we already have a root attribute, does ordering still matter?
>>
>>Either rely on ordering, or rely on an attribute, but not both!
>>    
>>
>
>Maybe we should remove the root attribute.
>

what is it being used for?

> We also could forget about
>the ordering, yanel could sort the realms itself after reading the
>config file (longest matching mount-point comes first). That way, the
>realm with mount-point "/" would always be the root realm.
>  
>

Could there be sideeffects?

Thanks

Michi

>WDYT?
>
>Josias
>
>  
>
>>>I think it would be great to mention this within the documentation.
>>>Maybe you want to submit a patch for the docu ;-)
>>>      
>>>
>>Honestly, I still don't quite understand it, so I might be the wrong 
>>person to document this topic.
>>
>>But you could at least mention on 
>>http://yanel.wyona.org/en/documentation/how-to-add-a-new-realm.html that 
>>"thou shalt not, under no circumstances, addeth thy new realm at the 
>>bottom of the realms list", or something along these lines...
>>
>>    
>>
>
>
>_______________________________________________
>Yanel-usage mailing list
>Yanel-usage at wyona.com
>http://wyona.com/cgi-bin/mailman/listinfo/yanel-usage
>
>  
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner at wyona.com                        michi at apache.org
+41 44 272 91 61




More information about the Yanel-usage mailing list