mirror of
https://github.com/evennia/evennia.git
synced 2026-03-26 17:56:32 +01:00
Removed has_perm function from typeclass model. This function is looked for by django admin and expected to do something different, and it was deprecated anyway.
This commit is contained in:
parent
083642b2dd
commit
40ff9eaa67
1 changed files with 0 additions and 5 deletions
|
|
@ -1403,11 +1403,6 @@ class TypedObject(SharedMemoryModel):
|
|||
"""
|
||||
return self.locks.check(accessing_obj, access_type=access_type, default=default)
|
||||
|
||||
def has_perm(self, accessing_obj, access_type):
|
||||
"Alias to access"
|
||||
logger.log_depmsg("has_perm() is deprecated. Use access() instead.")
|
||||
return self.access(accessing_obj, access_type)
|
||||
|
||||
def check_permstring(self, permstring):
|
||||
"""
|
||||
This explicitly checks if we hold particular permission without involving
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue