diff options
author | crupest <crupest@outlook.com> | 2020-11-15 20:31:22 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-11-15 20:31:22 +0800 |
commit | 5b7b0120406ef4c609c07ab57074a76a753cd1fd (patch) | |
tree | dd34d028426627375a3183c30d1494fcec55969b /BackEnd/Timeline.ErrorCodes/ErrorCodes.cs | |
parent | fa7b123be84afe020fc582535cc270e8cf24e85b (diff) | |
download | timeline-5b7b0120406ef4c609c07ab57074a76a753cd1fd.tar.gz timeline-5b7b0120406ef4c609c07ab57074a76a753cd1fd.tar.bz2 timeline-5b7b0120406ef4c609c07ab57074a76a753cd1fd.zip |
feat: Now changing user permission returns 400.
Diffstat (limited to 'BackEnd/Timeline.ErrorCodes/ErrorCodes.cs')
-rw-r--r-- | BackEnd/Timeline.ErrorCodes/ErrorCodes.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/BackEnd/Timeline.ErrorCodes/ErrorCodes.cs b/BackEnd/Timeline.ErrorCodes/ErrorCodes.cs index 91e0c1fd..df3d1861 100644 --- a/BackEnd/Timeline.ErrorCodes/ErrorCodes.cs +++ b/BackEnd/Timeline.ErrorCodes/ErrorCodes.cs @@ -43,6 +43,7 @@ {
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 static class UserAvatar
|