mirror of
https://github.com/evennia/evennia.git
synced 2026-03-29 12:07:17 +02:00
Moved permissions into a the tag system as a separate handler. Permissions still don't work quite right yet.
This commit is contained in:
parent
2acff2d1ab
commit
06e858b3f6
21 changed files with 1003 additions and 389 deletions
|
|
@ -69,7 +69,7 @@ def create_objects():
|
|||
god_character.id = 1
|
||||
god_character.db.desc = _('This is User #1.')
|
||||
god_character.locks.add("examine:perm(Immortals);edit:false();delete:false();boot:false();msg:all();puppet:false()")
|
||||
god_character.permissions = "Immortals"
|
||||
god_character.permissions.add("Immortals")
|
||||
|
||||
god_character.save()
|
||||
god_player.set_attribute("_first_login", True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue