Questions tagged [permissions]
This tag is ambigouos. Use "file-permissions" for questions about permissions on the file system and "acl" (Access Control List) for permission management in the Magento admin panel
279 questions
0 votes
0 answers
48 views
Filter Product Collection while Using FPC
I'm working on a project right now with about 200k customers that are broken down into 2000 groups. We haven't used customer_group for this because of the large number. But because we have a ...
1 vote
1 answer
819 views
wysiwyg editor does not show all folder after upgrading to Magento 2.4.6
I just upgraded to Magento 2.4.6 from 2.4.0. The issue i am facing is the editor is not showing images folder in storage_root. It is just showing me two folder catalog/category and Wyswig folder. I am ...
0 votes
1 answer
372 views
How to use Grahql API with ACL resouce as Rest API?
We have a issue and want to limit permission each roles. Do we have any way to make Graphql can set permission roles as Rest API? EX: Admin token with roles "sales", they only access Graphql ...
0 votes
3 answers
127 views
Magento 2 - The requested class did not generate properly, because the 'generated' directory permission is read-only (Even though folder has 777)
I get "The requested class did not generate properly, because the 'generated' directory permission is read-only" during setup:di:compile even though the folder has 777 permission. I even ...
1 vote
1 answer
274 views
Magento 2 nginx 404 error permission denied on setup
I have problem with setting up project the nginx is working fine and it is setup correctly, but it gives me 404 Not Found page when I try to access the url. The log: 2022/12/06 19:01:26 [crit] 285154#...
2 votes
0 answers
328 views
URL blocked by CORS policy No 'Access-Control-Allow-Origin' header in magento2
i am using google translate for my custom module.i am facing issue on console as per given image for reference i have given code of phtml file. console error : https://i.sstatic.net/0aBuC.png vendor\...
1 vote
0 answers
949 views
Magento2 : URL blocked by CORS policy No 'Access-Control-Allow-Origin' header
i am using google translate for my custom module.i am facing issue on console as per given image. i tried js code in root script it works but in front page it returns error. for reference i have ...
0 votes
1 answer
400 views
Show multiple media folders in admin panel m2.4.3-p2
After 2.4.3-p1 all folders that are not in wysiwyg or catalog/category are hidden in admin panel, there is official instruction how to add folder link. But we have multistore with more then 10 clients,...
1 vote
1 answer
587 views
Append ACL resource under parent custom ACL resource from another module - "Could not create an acl object: Resource id already exists in the ACL"
Using two modules: Vendor_ModuleA and Vendor_ModuleB, where Vendor_ModuleA will be a backend main menu/ACL module. Other modules (in this example Vendor_ModuleB) should use the ACL menu of ...
0 votes
0 answers
155 views
magento 2 run comand and error showing it
when I have run upgrade command or run deploy command and below type error coming it php -dmemory_limit=5G bin/magento setup:upgrade Error: Path "." cannot be used with directory "...
1 vote
2 answers
728 views
Magento 2 : 2FA - Google Auth Image Not working Properly in admin
I am using Magento 2 Instance and while login in to the admin panel I am facing 2FA - Google Auth Not Looking properly. Please check in below Image.
0 votes
1 answer
747 views
Exception #0: Warning: include(/var/www/html/vendor/magento/module-catalog/view/frontend/templates/product/view/attribute.phtml)
I am getting this error when I try to open to product catalog page in Magento 2.4.3 Custom theme? Exception #0 (Exception): Warning: include(/var/www/html/vendor/magento/module-catalog/view/frontend/...
0 votes
3 answers
1k views
The directory "/.....public_html/generated/code/Magento" cannot be deleted Warning!rmdir(/.../public_html/generated/code/Magento): Directory not empty
Magento 2.4.2-p1 Smartwave Porto theme extensions from Amasty We have the Smartwave Porto theme. It came with Mageplaza Layered Navigation but an old version. Since we have some problems that I ...
0 votes
1 answer
160 views
Magento or Apache 2 Permission?
I have a vm where I run ubuntu 18.04 , Apache 2 and Magento 2.3 every thing works fine but I think I'm doing something wrong with my permissions. So I have added to user 'dev' to the www-data group (...
5 votes
1 answer
13k views
Magento 2 - The requested class did not generate properly, because the 'generated' directory permission is read-only
I got this issue after running bin/magento setup:di:compile $ bin/magento setup:di:compile Compilation was started. Interceptors generation... 4/9 [============>---------------] 44% 16 secs 300.0 ...