MongooseA living laboratory of myriad worlds.

All help topics · Link to this topic

Showing help on '$perm_utils'

permissions utilities ($perm_utils #42)

Miscellaneous routines for permissions checking

For a complete description of a given verb, do `help $perm_utils:verbname'

:controls(who,what) -- can who write on object what
:controls_property(who,what,propname) -- can who write on what.propname
These routines check write flags and also the wizardliness of `who'.

(these last two probably belong on $code_utils)

:apply(permstring,mods)
/help/ -- used by @chmod to apply changes (e.g., +x)
to a given permissions string

:caller()
/help/ -- returns the first caller in the callers() stack distinct from `this'

:controls - $perm_utils:controls(who, what)
:apply(permstring,mods) => new permstring.
:caller([include line numbers])
:controls_prop*erty - Syntax: controls_prop(OBJ who, OBJ what, STR propname) => 0 | 1

Also from $generic_utils: 1 documented verb. help $generic_utils