added admin permission

This commit is contained in:
abutalib-kiwi
2023-07-17 18:58:09 +05:30
parent e90326fcb6
commit 751af642b8
10 changed files with 214 additions and 14 deletions

View File

@ -65,7 +65,12 @@ ERROR_CODE = {
"2036": "Choose valid user",
# log in multiple device msg
"2037": "You are already log in another device",
"2038": "Choose valid action for task"
"2038": "Choose valid action for task",
"2039": "Add at least one article card or maximum 6",
"2040": "Add at least 5 article survey or maximum 10",
"2041": "Article with given id doesn't exist.",
"2042": "Article Card with given id doesn't exist.",
"2043": "Article Survey with given id doesn't exist."
}
"""Success message code"""
SUCCESS_CODE = {
@ -105,6 +110,11 @@ SUCCESS_CODE = {
"3024": "Junior request is rejected successfully",
"3025": "Task is approved successfully",
"3026": "Task is rejected successfully",
"3027": "Article has been created successfully.",
"3028": "Article has been updated successfully.",
"3029": "Article has been deleted successfully.",
"3030": "Article Card has been removed successfully.",
"3031": "Article Survey has been removed successfully.",
}
"""status code error"""
STATUS_CODE_ERROR = {