@permissive=n switches RLVa's exception handling to strict mode for all behaviors that support it. Normally an exception granted by any object (for example @recvchat:<uuid>=add) lifts that restriction for everyone, whichever object imposed it. Under @permissive=n an exception only counts if every object currently holding the restriction has granted the same exception.
This is the global counterpart of the per-behavior _sec variants (@recvchat_sec=n and so on), which make only that object's own restriction strict.
@permissive=<n|add>
@permissive=<y|rem>
None (RLV_OPTION_NONE).
BHVR_STRICT flag (those with a _sec form): accepttp, accepttprequest, recvchat, recvchatfrom, recvemote, recvemotefrom, recvim, recvimfrom, sendchannel, sendchannel_except, sendim, sendimto, share, shownames, shownametags, startim, startimto, tplure and tprequest. For every other behavior (e.g. @edit, touch restrictions) isPermissive() is hard-wired to true and exceptions stay permissive.@permissive=n in force, the set of objects that must each hold the exception is every object holding the plain (option-less) restriction, strict or not. Without @permissive, strict mode still applies to a behavior as soon as any object holds its _sec form, but then only the objects holding the _sec form must agree.@recvim:5;20=n) do not put their object on the list.ERlvExceptionCheck::Permissive, used for example by the touch and hover-text checks); those ignore @permissive regardless.@permissive itself has no exceptions and no _sec form. It is held like any restriction and lifted with =y or @clear.// Make sure no other device can open a loophole in our chat restriction
llOwnerSay("@permissive=n,recvchat=n");
_sec restriction is added, RLVa records an internal exception of type RLV_BHVR_PERMISSIVE whose value is the behavior, from the issuing object; isPermissive(bhvr) is false when @permissive is held or such a record exists.rlvhelper.cpp 122 (generic RLV_OPTION_NONE).RlvHandler::isException (rlvhandler.cpp 273-307) picks strict or permissive checking; isPermissive 309-314; strict bookkeeping on add/remove of _sec commands at 1720-1742 and 1746-1782. RlvObject::hasBehaviour(bhvr, fStrictOnly) (requires an empty option): rlvhelper.cpp 1180-1186. getHasStrict: rlvhelper.cpp 485-495.ERlvExceptionCheck values (Permissive, Strict, Default): rlvdefines.h 362-367.This command works differently from RLV's @permissive; see the comparison.