mirror of
https://github.com/evennia/evennia.git
synced 2026-03-25 01:06:32 +01:00
Changed lock storage from character-limit field to unlimited TextField.
This commit is contained in:
parent
373a1f68c4
commit
2e08517ec5
4 changed files with 324 additions and 1 deletions
|
|
@ -791,7 +791,7 @@ class TypedObject(SharedMemoryModel):
|
|||
# Permissions (access these through the 'permissions' property)
|
||||
db_permissions = models.CharField('permissions', max_length=255, blank=True, help_text="a comma-separated list of text strings checked by certain locks. They are often used for hierarchies, such as letting a Player have permission 'Wizards', 'Builders' etc. Character objects use 'Players' by default. Most other objects don't have any permissions.")
|
||||
# Lock storage
|
||||
db_lock_storage = models.CharField('locks', max_length=512, blank=True, help_text="locks limit access to an entity. A lock is defined as a 'lock string' on the form 'type:lockfunctions', defining what functionality is locked and how to determine access. Not defining a lock means no access is granted.")
|
||||
db_lock_storage = models.TextField('locks', blank=True, help_text="locks limit access to an entity. A lock is defined as a 'lock string' on the form 'type:lockfunctions', defining what functionality is locked and how to determine access. Not defining a lock means no access is granted.")
|
||||
|
||||
# Database manager
|
||||
objects = managers.TypedObjectManager()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue