v1.4.4
This commit is contained in:
commit
9c94d113d3
10260 changed files with 1237388 additions and 0 deletions
7
doc/lua/commandprocessor.md
Normal file
7
doc/lua/commandprocessor.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
The command processor has a single binding for performing admin checks, available on the *CommandProcessor* table.
|
||||
|
||||
---
|
||||
|
||||
#### `String` CommandProcessor.adminCheck(`ConnectionId` connectionId, `String` actionDescription)
|
||||
|
||||
Checks whether the specified connection id is authorized to perform admin actions and returns `nil` if authorization is succesful. If unauthorized, returns a `String` error message to display to the client requesting the action, which may include the specified action description, such as "Insufficient privileges to do the time warp again."
|
Loading…
Add table
Add a link
Reference in a new issue