[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:
parent
ffbc5942da
commit
650328c6f2
13 changed files with 71 additions and 323 deletions
10
apiserver/plane/utils/error_codes.py
Normal file
10
apiserver/plane/utils/error_codes.py
Normal 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,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue