mirror of
https://github.com/evennia/evennia.git
synced 2026-03-25 17:26:32 +01:00
Default to attrread as locktype for Attribute read access. Resolve #2185
This commit is contained in:
parent
ad7a8ae0d1
commit
09e53d5efe
1 changed files with 1 additions and 1 deletions
|
|
@ -186,7 +186,7 @@ class Attribute(SharedMemoryModel):
|
|||
def __repr__(self):
|
||||
return "%s(%s)" % (self.db_key, self.id)
|
||||
|
||||
def access(self, accessing_obj, access_type="read", default=False, **kwargs):
|
||||
def access(self, accessing_obj, access_type="attrread", default=False, **kwargs):
|
||||
"""
|
||||
Determines if another object has permission to access.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue