HL.PermissionSpec¶
- class HL.PermissionSpec¶
Table form accepted by
hl.permission().
Shape¶
{
binary = string, -- or target = string
type = string,
mode = string,
}
Fields¶
- binarystring
Binary name. Must not be empty.
- targetstring, optional
Alias for
binaryin table form.- typestring
One of
screencopy,cursorpos,plugin,keyboard, orkeeb.- modestring
One of
ask,allow, ordeny.
Used by¶
hl.permission()Register a dynamic permission rule.