You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a site is created using /api/1/site/create.json and the user doesn't have permissions to create a site the response doesn't contain the Content-Type header. This is causing some issues while using the craftercms CLI.
To Reproduce
Steps to reproduce the behavior:
Create a user and don't assign any group.
Create a site using /api/1/site/create.json with the previous user.
Describe the bug
When a site is created using /api/1/site/create.json and the user doesn't have permissions to create a site the response doesn't contain the Content-Type header. This is causing some issues while using the craftercms CLI.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Content-Type: application/json
should be returned in the header when user is not authorized. https://github.com/craftercms/studio/blob/develop/src/main/java/org/craftercms/studio/impl/v1/web/security/access/StudioAccessDeniedHandler.javaScreenshots
Logs
N/A
Specs
Version
3.1.x
&3.2.x
OS
Any
Browser
Any
Additional context
N/A
The text was updated successfully, but these errors were encountered: