Changed default puppet lock to puppet:pperm(Immortals) by default. Resolves #521.
This commit is contained in:
parent
b092d29989
commit
bb8c9ce2ab
1 changed files with 1 additions and 3 deletions
|
|
@ -526,7 +526,6 @@ class Object(TypeClass):
|
||||||
# commands may set this (create an item and you should be its
|
# commands may set this (create an item and you should be its
|
||||||
# controller, for example)
|
# controller, for example)
|
||||||
|
|
||||||
dbref = self.dbobj.dbref
|
|
||||||
self.locks.add(";".join([
|
self.locks.add(";".join([
|
||||||
"control:perm(Immortals)", # edit locks/permissions, delete
|
"control:perm(Immortals)", # edit locks/permissions, delete
|
||||||
"examine:perm(Builders)", # examine properties
|
"examine:perm(Builders)", # examine properties
|
||||||
|
|
@ -536,8 +535,7 @@ class Object(TypeClass):
|
||||||
"get:all()", # pick up object
|
"get:all()", # pick up object
|
||||||
"call:true()", # allow to call commands on this object
|
"call:true()", # allow to call commands on this object
|
||||||
"tell:perm(Wizards)", # allow emits to this object
|
"tell:perm(Wizards)", # allow emits to this object
|
||||||
# restricts puppeting of this object
|
"puppet:pperm(Immortals)"])) # lock down puppeting only to staff by default
|
||||||
"puppet:pid(%s) or perm(Immortals) or pperm(Immortals)" % dbref]))
|
|
||||||
|
|
||||||
def basetype_posthook_setup(self):
|
def basetype_posthook_setup(self):
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue