remove domain system

This commit is contained in:
masnn committed 2020-04-03 20:56:08 +08:00
1 parent 7fa4a58abe
commit fc26af30ef
31 files changed
+709 -1242

No files matched your search

-11
View File
@@ -34,19 +34,8 @@ module.exports = {
isPid, checkPid
};
/*
domainId_RE = re.compile(r'[_A-Za-z][_0-9A-Za-z]{3,255}')
ID_RE = re.compile(r'[^\\/\s\u3000]([^\\/\n\r]*[^\\/\s\u3000])?')
ROLE_RE = re.compile(r'[_0-9A-Za-z]{1,256}')
DOMAIN_INVITATION_CODE_RE = re.compile(r'[0-9A-Za-z]{1,64}')
def is_domainId(s):
return bool(domainId_RE.fullmatch(s))
def check_domainId(s):
if not is_domainId(s):
raise error.ValidationError('domainId')
def is_id(s):