chore: Page auth and other improvements (#3011)
* chore: project query optimised * chore: page permissions changed
This commit is contained in:
parent
c3f3578e8b
commit
55ce748aa1
5 changed files with 47 additions and 62 deletions
|
|
@ -103,7 +103,7 @@ class InboxIssueAPIEndpoint(BaseAPIView):
|
|||
if inbox is None and not project.inbox_view:
|
||||
return Response(
|
||||
{
|
||||
"error": "Inbox is not enabled for this project enable it through the project settings"
|
||||
"error": "Inbox is not enabled for this project enable it through the project's api"
|
||||
},
|
||||
status=status.HTTP_400_BAD_REQUEST,
|
||||
)
|
||||
|
|
@ -177,7 +177,7 @@ class InboxIssueAPIEndpoint(BaseAPIView):
|
|||
if inbox is None and not project.inbox_view:
|
||||
return Response(
|
||||
{
|
||||
"error": "Inbox is not enabled for this project enable it through the project settings"
|
||||
"error": "Inbox is not enabled for this project enable it through the project's api"
|
||||
},
|
||||
status=status.HTTP_400_BAD_REQUEST,
|
||||
)
|
||||
|
|
@ -311,7 +311,7 @@ class InboxIssueAPIEndpoint(BaseAPIView):
|
|||
if inbox is None and not project.inbox_view:
|
||||
return Response(
|
||||
{
|
||||
"error": "Inbox is not enabled for this project enable it through the project settings"
|
||||
"error": "Inbox is not enabled for this project enable it through the project's api"
|
||||
},
|
||||
status=status.HTTP_400_BAD_REQUEST,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue