[Prev][Next][Index][Thread]

# Re: [server] $server_options

- Date: Sat, 27 Jan 1996 20:37:19 PST
- From:
- Content-Type: text
- Newsgroups: local.moo
- Organization: Where Stormnet meets the Internet
- References: <v02130503ad3097cb7242@[194.109.20.133]>

    In article <v02130503ad3097cb7242@[194.109.20.133]>,
    Kai Storbeck <kais@dds.nl> wrote:
    >
    >Hello,
    >
    >We are working on a hack at this moment, which enables you to add a verb on
    >$server_options, for example: protect_add_verb.
    >When a builtin is called, the verb on $server_options (if found) MUST
    >return 1 to complete itself.
    >The advantage of it, is that you don't have to check on perms anymore, like
    >with a property, making builtins wiz only.
    >

    I am not sure this is a good idea.  All this means you are encouraging
    the use of builtins, which I think is a bad idea.  You are much better
    off creating protect_* properties for all builtins (except maybe stuff
    like tonum() and sqrt()) and then make the users use the wrapper
    verbs.  That way you can do any permissions checks you want, and
    should you ever need to, you can change the verb (e.g. use a recycler
    instead of create(), and what have you.)

    	-hpa
    --
    PGP public key available - finger hpa@terminus.storm.net
    "The earth is but one country, and mankind its citizens."  --  Bahá'u'lláh
    GE/CS 3.1 d- s-:- a- C++++ ULIS++++$ P+++ L++++>+++++ E++ W++ N++ o+ K
    w--- O@ M V- PGP+ t+ 5++ X? R@ tv- b++ DI++++ D++(+) G e++ h- r-- y-

References:

- [server] $server_options

- From: kais@dds.nl (Kai Storbeck)

- Prev: [server] $server_options
- Next: [SERVER] Crash on restart with 1.7.9p2 and MPL 1.4
- Index: MOO-cows
- Thread: MOO-cows

Home | Subject Index | Thread Index