We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CP language switch doesn't work on Globals Craft won't allow admin user to access globals in another language
1: I can access and edit https://aaa.org/admin/globals/configs (english) but CP language switch doesn't work (bug 1)
2: Go to entries, switch to another language and go back to globals >> https://aaa.org/admin/globals/configs?site=spanish ... I get the message:
Unauthorized User not permitted to edit global set
Allow admin user to access globals in another language
yii\web\ForbiddenHttpException: User not permitted to edit global set in /media/data/www/aaa.org/vendor/craftcms/cms/src/controllers/GlobalsController.php:166 Stack trace: #0 [internal function]: craft\controllers\GlobalsController->actionEditContent() #1 /media/data/www/aaa.org/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array() #2 /media/data/www/aaa.org/vendor/yiisoft/yii2/base/Controller.php(178): yii\base\InlineAction->runWithParams() #3 /media/data/www/aaa.org/vendor/yiisoft/yii2/base/Module.php(552): yii\base\Controller->runAction() #4 /media/data/www/aaa.org/vendor/craftcms/cms/src/web/Application.php(304): yii\base\Module->runAction() #5 /media/data/www/aaa.org/vendor/yiisoft/yii2/web/Application.php(103): craft\web\Application->runAction() #6 /media/data/www/aaa.org/vendor/craftcms/cms/src/web/Application.php(289): yii\web\Application->handleRequest() #7 /media/data/www/aaa.org/vendor/yiisoft/yii2/base/Application.php(384): craft\web\Application->handleRequest() #8 /media/data/www/aaa.org/web/index.php(12): yii\base\Application->run() #9 {main}
4.5.1
8.1
linux/ddev
mariadb 10.4
No response
Element API 3.0.1.1 Logs 4.0.0 Maps 4.0.4 Mix Manifest 1.0.3 Redactor 3.0.4 Site Switcher 2.3.0
The text was updated successfully, but these errors were encountered:
This was fixed in 4.5.2! (See #13603)
Sorry, something went wrong.
No branches or pull requests
What happened?
Description
CP language switch doesn't work on Globals
Craft won't allow admin user to access globals in another language
Steps to reproduce
1: I can access and edit https://aaa.org/admin/globals/configs (english) but CP language switch doesn't work (bug 1)
2: Go to entries, switch to another language and go back to globals >> https://aaa.org/admin/globals/configs?site=spanish ... I get the message:
Unauthorized
User not permitted to edit global set
Expected behavior
Allow admin user to access globals in another language
Actual behavior
Trace
Craft CMS version
4.5.1
PHP version
8.1
Operating system and version
linux/ddev
Database type and version
mariadb 10.4
Image driver and version
No response
Installed plugins and versions
Element API 3.0.1.1
Logs 4.0.0
Maps 4.0.4
Mix Manifest 1.0.3
Redactor 3.0.4
Site Switcher 2.3.0
The text was updated successfully, but these errors were encountered: