13 lines
404 B
Python
13 lines
404 B
Python
# Permission List
|
|
pList = ["article.read", "article.pend", "article.del", "setting.edit"] # no permission:usermgr except root
|
|
pList_root = pList + ["usermgr"]
|
|
|
|
# Platform Setting Model
|
|
platform_setting_model = {
|
|
"Check_Before_Post": [bool],
|
|
"JWT_Valid_Time": [int],
|
|
"Niming_Max_Word": [int],
|
|
"Attachment_Count": [int],
|
|
"Attachment_Size": [int],
|
|
"Allowed_MIME": [list, str],
|
|
} |