mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Fix permission level to edit object. Resolve #1801
This commit is contained in:
parent
83c6bb69d1
commit
690a11754d
1 changed files with 1 additions and 1 deletions
|
|
@ -496,7 +496,7 @@ def _object_search_actions(caller, raw_inp, **kwargs):
|
|||
else:
|
||||
# load prototype
|
||||
|
||||
if not obj.access(caller, 'control'):
|
||||
if not obj.access(caller, 'edit'):
|
||||
caller.msg("|rYou don't have access to do this with this object.|n")
|
||||
del caller.ndb._menutree.olc_search_object_term
|
||||
return "node_search_object"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue