Starting here, trunk is broken pending re-organizations. Check out the previous revision if you'd like to tinker.
This commit is contained in:
parent
4b25a08597
commit
837f1152c6
28 changed files with 0 additions and 0 deletions
0
src/genperms/__init__.py
Normal file
0
src/genperms/__init__.py
Normal file
23
src/genperms/models.py
Normal file
23
src/genperms/models.py
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
from django.db import models
|
||||
|
||||
class GenericPerm(models.Model):
|
||||
"""
|
||||
This is merely a container class for some generic permissions that don't
|
||||
fit under a particular module.
|
||||
"""
|
||||
class Meta:
|
||||
permissions = (
|
||||
("announce", "May use @wall to make announcements"),
|
||||
("boot", "May use @boot to kick players"),
|
||||
("builder", "Can build and modify objects"),
|
||||
("chown_all", "Can @chown anything to anyone."),
|
||||
("free_money", "Has infinite money"),
|
||||
("long_fingers", "May get/look/examine etc. from a distance"),
|
||||
("steal", "May give negative money"),
|
||||
("set_hide", "May set themself invisible"),
|
||||
("tel_anywhere", "May @teleport anywhere"),
|
||||
("tel_anyone", "May @teleport anything"),
|
||||
("see_session_data", "May see detailed player session data"),
|
||||
("process_control", "May shutdown/restart/reload the game"),
|
||||
("manage_players", "Can change passwords, siteban, etc."),
|
||||
)
|
||||
1
src/genperms/views.py
Normal file
1
src/genperms/views.py
Normal file
|
|
@ -0,0 +1 @@
|
|||
# Create your views here.
|
||||
Loading…
Add table
Add a link
Reference in a new issue