mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-07 22:06:05 +01:00
fix createUser and modifyUser securityLevel defaults
This commit is contained in:
10
CyberCP/SecurityLevel.py
Normal file
10
CyberCP/SecurityLevel.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from enum import Enum
|
||||
|
||||
|
||||
class SecurityLevel(Enum):
|
||||
HIGH = 0
|
||||
LOW = 1
|
||||
|
||||
@staticmethod
|
||||
def list():
|
||||
return list(map(lambda s: s.name, SecurityLevel))
|
||||
Reference in New Issue
Block a user