[WEB-1986] fix: remove the user favourites when archived a particular entity (#5387)

* chore: pages custom error codes

* fix: view role permission
This commit is contained in:
Bavisetti Narayan 2024-08-20 19:40:48 +05:30 committed by GitHub
parent ffbc5942da
commit 650328c6f2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 71 additions and 323 deletions

View file

@ -0,0 +1,10 @@
ERROR_CODES = {
# issues
"INVALID_ARCHIVE_STATE_GROUP": 4091,
"INVALID_ISSUE_DATES": 4100,
"INVALID_ISSUE_START_DATE": 4101,
"INVALID_ISSUE_TARGET_DATE": 4102,
# pages
"PAGE_LOCKED": 4701,
"PAGE_ARCHIVED": 4702,
}