leenalavanya  wrote:
> sir,I am new to MMBase CMS.I am able to create users, groups by using 
> config.xml for Context Security Model of MMBase.My aim is to build a sample 
> website for Context Security Model.For that How can I create new Object 
> Types, Objects and then Relations etc.Can You Help me in this regard.thank 
> youleena lavanaya

You define an object model bij creating typerel and reldef objects. Or,
more commonly, you deploy an application which does that for you. E.g. the
My-News applications defines a relations mags->news (see MyNews.xml).

To create new object-types normally one creates a new 'builder xml'. When
in an application (like applications/MyNews/builders) and the server was
write-access to WEB-INF/config/builders/applications this can work life,
otherwise place the xml somewhere in config/builders and restart the
web-app.

The security is automaticly honoured in generic editors and editwizards.

Michiel



-- 
Michiel Meeuwissen                  mihxil'
Peperbus 107 MediaPark H'sum          []()
+31 (0)35 6772979         nl_NL eo_XX en_US
_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers

Reply via email to