external next up previous contents index
Next: A short look at Up: Basic MOO Programming Tutorial Previous: Customizing the :htext verb

8.10 Permissions and Generic Objects Tutorial

 

The main goal of this tutorial is to teach you how to write generic objects that can be used by other persons. In order to do this tutorial, you must have passed trough the ``holder'' tutorial in section 8.4 or else adapt instruction to another object you own.

You have programmed an object and you think it might be useful to others (or least you want several instances for yourself), i.e. you could do something like:

   @create <your object> named <a name>,[<alias name>]
              e.g.
   @create #13456 named Black Holder, hold

There are 3 things to do:

  1. You have to make this object fertile (so that people can create ``kids'' of it)
  2. You have to insure that property permissions are done right.
  3. You have to deal with security (i.e. set caller and execution permissions) so that the contents of different holders become safe from manipulation by other users.

Before we address that topic let's first have a general look at permissions.





Daniel K. Schneider
Thu Apr 17 12:43:52 MET DST 1997