diff options
author | crupest <crupest@outlook.com> | 2020-11-15 20:54:33 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-15 20:54:33 +0800 |
commit | dbc05b79c94894b25cbbb23025ed91dd1cf8a7a3 (patch) | |
tree | 7c2c792c141def97603cb43d98e83d29ac718e9a /BackEnd/Timeline.ErrorCodes/ErrorCodes.cs | |
parent | 63ec1050dd24e4123f73e9ed757376dc8128803d (diff) | |
parent | 1bbc60966cea77ec6ed7895bea1a01ad9c090c3a (diff) | |
download | timeline-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.cs | 2 |
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
|