aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline.ErrorCodes/ErrorCodes.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-11-15 20:54:33 +0800
committerGitHub <noreply@github.com>2020-11-15 20:54:33 +0800
commit515430ecc976008c50cf27a38dc869c2b1aa73c0 (patch)
tree945016b5c2a911a2a19b8f4f1472ecfdbe32a602 /BackEnd/Timeline.ErrorCodes/ErrorCodes.cs
parentfa7b123be84afe020fc582535cc270e8cf24e85b (diff)
parent45873d9115840c9db596c2dffebc7bb29df13686 (diff)
downloadtimeline-515430ecc976008c50cf27a38dc869c2b1aa73c0.tar.gz
timeline-515430ecc976008c50cf27a38dc869c2b1aa73c0.tar.bz2
timeline-515430ecc976008c50cf27a38dc869c2b1aa73c0.zip
Merge pull request #188 from crupest/root-user
Forbid some operation on root user.
Diffstat (limited to 'BackEnd/Timeline.ErrorCodes/ErrorCodes.cs')
-rw-r--r--BackEnd/Timeline.ErrorCodes/ErrorCodes.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/BackEnd/Timeline.ErrorCodes/ErrorCodes.cs b/BackEnd/Timeline.ErrorCodes/ErrorCodes.cs
index 91e0c1fd..90c4ed99 100644
--- a/BackEnd/Timeline.ErrorCodes/ErrorCodes.cs
+++ b/BackEnd/Timeline.ErrorCodes/ErrorCodes.cs
@@ -43,6 +43,8 @@
{
public const int UsernameConflict = 1_102_01_01;
public const int ChangePassword_BadOldPassword = 1_102_02_01;
+ public const int ChangePermission_RootUser = 1_102_03_01;
+ public const int Delete_RootUser = 1_102_04_01;
}
public static class UserAvatar