Update lock docstring. Closes #1563.
This commit is contained in:
parent
7e1057e74e
commit
70dbaf8bf4
1 changed files with 4 additions and 4 deletions
|
|
@ -1807,13 +1807,13 @@ class CmdLock(ObjManipCommand):
|
||||||
|
|
||||||
For example:
|
For example:
|
||||||
'get: id(25) or perm(Admin)'
|
'get: id(25) or perm(Admin)'
|
||||||
The 'get' access_type is checked by the get command and will
|
The 'get' lock access_type is checked e.g. by the 'get' command.
|
||||||
an object locked with this string will only be possible to
|
An object locked with this example lock will only be possible to pick up
|
||||||
pick up by Admins or by object with id=25.
|
by Admins or by an object with id=25.
|
||||||
|
|
||||||
You can add several access_types after one another by separating
|
You can add several access_types after one another by separating
|
||||||
them by ';', i.e:
|
them by ';', i.e:
|
||||||
'get:id(25);delete:perm(Builder)'
|
'get:id(25); delete:perm(Builder)'
|
||||||
"""
|
"""
|
||||||
key = "@lock"
|
key = "@lock"
|
||||||
aliases = ["@locks"]
|
aliases = ["@locks"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue