Many RLV restrictions accept exceptions, for example @sendim:<uuid>=add. Normally an exception counts no matter which object added it, so one product can open a hole in another product's restriction. @permissive=n turns this off for every restriction: an exception only counts if the object that issued the restriction also issued the exception. In effect, every exception-capable restriction behaves like its _sec (secure) variant.

Syntax

@permissive=<y|n>

Specification

The check lives in one function, containsWithoutException(action, exception), which every exception-capable restriction uses. Its logic:

  1. For each stored <action>_sec restriction, and also for each plain <action> restriction while @permissive is active: if that same object hasn't also issued <action>:<exception> or <action>_sec:<exception>, the action is restricted.
  2. Otherwise, if any plain <action> restriction exists and no object at all has issued <action>:<exception> or <action>_sec:<exception>, the action is restricted.
  3. Otherwise it is allowed.

Restrictions affected (those that use containsWithoutException in the code): @sendim, @recvim, @recvchat, @recvemote, @sendchannel, @share, @startim, @tplure, @tprequest, @shownames, @edit, @touchworld, @touchhud and the teleport restrictions that take exceptions.

Caveats

Examples

// A collar that wants only its own exceptions to count
llOwnerSay("@permissive=n,sendim=n,sendim:" + (string)keyholder + "=add");

See also

Implementation notes

Client differences

No differences found between Marine's RLV and CoolVL (mkrlinterface.cpp:941-994 is the same algorithm). CoolVL lists permissive in its "vanilla" blacklist preset.

Comparison with RLVa

This command works differently from RLVa's @permissive; see the comparison.