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
commitdbc05b79c94894b25cbbb23025ed91dd1cf8a7a3 (patch)
tree7c2c792c141def97603cb43d98e83d29ac718e9a /BackEnd/Timeline.ErrorCodes/ErrorCodes.cs
parent63ec1050dd24e4123f73e9ed757376dc8128803d (diff)
parent1bbc60966cea77ec6ed7895bea1a01ad9c090c3a (diff)
downloadtimeline-dbc05b79c94894b25cbbb23025ed91dd1cf8a7a3.tar.gz
timeline-dbc05b79c94894b25cbbb23025ed91dd1cf8a7a3.tar.bz2
timeline-dbc05b79c94894b25cbbb23025ed91dd1cf8a7a3.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