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

Filter by
Sorted by
Tagged with
0 votes
0 answers
13 views

Magento 2 + ACL for Customer Group dropdown

Is it possible to create an ACL rule for Group dropdown on Customer's profile? I've seen some code for Customer Groups: src\vendor\magento\module-customer\etc\acl.xml But, disabling this permission ...
user avatar
  • 1
0 votes
1 answer
15 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,...
user avatar
0 votes
1 answer
16 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 ...
user avatar
0 votes
0 answers
55 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 "...
user avatar
0 votes
1 answer
94 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.
user avatar
0 votes
1 answer
72 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/...
user avatar
0 votes
3 answers
202 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 ...
user avatar
  • 306
0 votes
0 answers
59 views

On Magento cloud, error cannot re-generate the LESS and CSS file. It has permission Read-only file system

When I Click to Regenerate the LESS and CSS files on magento cloud, it shows error of permission to Regenerate folder /web in vendor file I set .magento.app.yaml like this
user avatar
0 votes
1 answer
21 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 (...
user avatar
3 votes
1 answer
2k 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 ...
user avatar
  • 31
0 votes
0 answers
62 views

Magento 2 trying to update acl tree structure but getting Duplicate key-sequence ['Magento_Sales::place_order']

I am trying to update acl tree structure I am using Magento b2b CWS_ParentChild/etc/company_acl.xml <resource id="Magento_Sales::all" title="Purchasing" translate="title&...
user avatar
0 votes
0 answers
38 views

POST Product Image w/ REST API Exception

I have Magento running in a Bitnami Docker container, and trying to upload an image for a product using the REST API causes an exception. I initially suspected a permissions error, so the following ...
user avatar
  • 1
0 votes
1 answer
79 views

Magento 2: Permissions to add/edit customers is missing despite administrator role

In my Magento 2.4.2 shop I'm not allowed to add or edit customers. Although I'm logged in as an administrator. When opening the customer or sales page, all customer information are obfuscated. When I ...
user avatar
  • 312
0 votes
1 answer
380 views

Magento 2.4.2 - Forbidden error on Nginx because of no index file in root directory

I am getting a 403 forbidden error while opening my website URL on the browser. After so much research I have found that the index file is missing from the Magento root directory and it is moved to ...
user avatar
0 votes
1 answer
67 views

How to create a admin user role who can only see the product grid but not authorized to Edit or Add New product

Here I am trying create a role who can only see the product grid but not authorized to Edit or Add New product. But in User roles there only option to select full access to view and edit the products. ...
user avatar
0 votes
1 answer
14 views

loca.xml - 0 bytes

I have downloaded the local.xml file from the directory: /htdocs/app/etc I've amended some code and attempted to re-uploaded the file back to the same directory, via FTP (Filezilla). However, the ...
user avatar
1 vote
1 answer
189 views

Catalog Category permissions keeps on changing automatically in Magento 2.4.1 Enterprise Edition

We are using Magento 2.4.1 Enterprise Edition. Suddenly our built-in catalog category permissions keeps on changing automatically (category permissions are set to "Deny"). which caused PLP ...
user avatar
0 votes
2 answers
122 views

Magento 2 Admin user can't access Admin menus

I have a Magento 2.4.1 admin instance, I have created a Admin user through command line, But am able to login but cant access anything. how to to add this permission to admin user. I cant access ...
user avatar
0 votes
1 answer
299 views

How to fix skip to content option in magento 2

I have issue with the magento2. When we open a website the skip to content appear before loading the complete website . How i remove this option. Image is atatched.
user avatar
  • 1
0 votes
1 answer
799 views

Can't download export file - The path is not writable

System - Data Transfer - Export I get this error when I try to download export csv file The path "/magento/var/export/catalog_product_20201008_102857.csv" is not writable. var/export ...
user avatar
  • 1,570
0 votes
3 answers
223 views

Magento 2.3.4 - Best practice to do update magento files and modules without affect the website in Production Mode

If i update any modules or disable extensions my website showing an error message, i do following all the commands then coming back to normal, rm -rf var/di/* var/generation/* var/cache/* var/log/* ...
user avatar
  • 103
0 votes
0 answers
32 views

i moved magento1 store from one server to another server, it is displaying only half page except for homepage and admin

i moved magento1 store from one server to another server, it is displaying only half page except for homepage and admin, phtml files and cms pages are not loading.
user avatar
2 votes
1 answer
523 views

Class Magento\InventoryCatalogAdminUi\Observer\SourceItemsProcessor does not exist

I have upgraded Magento 2.3.5-p1 to Magento 2.4.0, after upgrade when I am running compile command php bin/magento setup:di:compile then it's showing me below error Compilation was started. Area ...
user avatar
1 vote
0 answers
370 views

Magento 2 Nginx and ubuntu Post installation Permission and Ownership issue

I have installed Magento2 on AWS EC2 instance. I am using Nginx, Php-fpm and Ubuntu 18.04 for my magento2 installation. Magento 2 is installed successfully but whenever I run command php bin/magento ...
user avatar
1 vote
2 answers
515 views

Any Drawback on running setup:upgrade, di:compile, static deploy everytime code level edit on Magento 2

Is it ok to run the following set of commands by default everytime I make a code level edit (layout edits, module creation, extension update) php bin/magento setup:upgrade php bin/magento setup:di:...
user avatar
  • 133
1 vote
2 answers
1k views

Magento2 - Running di:compile stops at 57% in magento 2.3.2

Class Magento\Framework\Mail\EmailMessageInterfaceFactory does not exist Class Vendor\Extension\Model\Mail\TransportBuilder\Interceptor generation error: The requested class did not generate ...
user avatar
0 votes
2 answers
45 views

Site load without css after Migrating from one server to another

After migrating my magento site from one server to another, I encounter the following problem: the site loads, but without styles (css), it is as if it could not access the file. here are the ...
user avatar
  • 23
0 votes
1 answer
299 views

Magento /pub/static is not writable - Permissions error

So I'm fairly new to Magento, in fact, it's my first time messing with Linux permissions. I've been asked to change a few things on a website, and I can't even pass through the permissions part. I ...
user avatar
0 votes
2 answers
506 views

Magneto 2 setup - incorrect permissions

After install magento 2.3.5-p1 i got exception on setup page (in web setup). PHP Fatal error: Uncaught Zend_Cache_Exception: cache_dir "/var/www/html/magento2/var/page_cache" is not writable in /var/...
user avatar
0 votes
1 answer
57 views

Add to cart functionality is not working for any product

my add to cart not working, its showing nothing in cart for 2 stores and for 1 store adding a default product everytime, doesn't matter which product we added, its showing this exception.... We can't ...
user avatar
0 votes
0 answers
120 views

No CSS or JS in Magento 2.3.3 on Virtualbox/Vagrant in Windows 7 Host - Text File Busy

I have a Magento 2.3.3-p1 installed in VirtualBox/Vagrant guest on a Windows 7 host. The server setup is running Ubuntu 19.10 with Apache2, PHP 7.3 MYSQL, etc. Despite all my efforts I can only get ...
user avatar
  • 11
-1 votes
1 answer
128 views

what are the proper chmod settings for the Media folder?

Magento 1.9.x We were troubleshooting something and changed the permissions on the Media folder. What are the proper chmod permissions on Media, var and the log (in var) folder?
user avatar
  • 306
0 votes
2 answers
60 views

I'm going crazy with the folder permissions! in magento 2

hello guys in my case when I want to run any command like 'bin/magento setup:upgrade && bin/magento cache:clean && bin/magento cache:flush ' or bin/magento setup:di:upgrade , it always ...
user avatar
0 votes
1 answer
68 views

chcon -R -t httpd_sys_rw_content_t /var/www/html/magento/ SAFE?

to fix an issue in Magento I found this solution here on Stackexchange: I used this command line in Putty: So after that I could fix the issue.
user avatar
0 votes
1 answer
141 views

Permission on OpenLiteSpeed Server localhost with Magento 2

I'm using CentOS 8 as my OS on my laptop and currently running OpenLiteServer (lsphp73) and have been successfully installed phpmyadmin and magento 2.3.4. Then, it comes with a problem that everytime ...
user avatar
1 vote
0 answers
35 views

Change Action from Edit to View for product in magento 2 admin panel

I have different users with different user roles. I want to change the Edit option to View only for the users who have not added this product. see attach image How can I do that? Allowing Edit ...
user avatar
  • 700
0 votes
2 answers
139 views

How can I use ssh command using php script as root user?

I am working third party integration for which new files generating automatically when my code is running. But it required permission after creating the file. I want to give the permission as a ...
user avatar
  • 1,957
0 votes
1 answer
260 views

Permanent solution for magento 2 permission issue after cache flush

Whenever i flush cache i have to give permission to the folder. what is the permanent solution for this issue.
user avatar
0 votes
0 answers
20 views

Error After Installing Website in magento 2 js

I just installed magento 2 and I come across a bug that won't let me get lost on my admin page i use : Nginx Php7.2 Varnish 4 and Percona Server on Debian 9 I believe the problem is in the ...
user avatar
1 vote
1 answer
92 views

Magento 1.9 - User Roles Permission return Fatal error

If i click System -> Permission -> Roles if i click any of roles return following error, Fatal error: Class 'Mage_Cmsmquickview_Helper_Data' not found in /home/abc/public_html/app/Mage.php on line ...
user avatar
  • 103
2 votes
1 answer
188 views

How do I execute Magento 2 CLI commands using a custom script?

I had created a custom script which update my database. After completion of database update, I want to execute the Magento CLI commands by adding custom functions in my custom script. The script ...
user avatar
1 vote
0 answers
37 views

Root taking ownership of generated files. Plesk CP

I hope someone here can offer me some guidence. I have recently switched all my accounts from cPanel / WHM to Plesk and part of this was an active development of a Magento 2.3.2 site. Since moving ...
user avatar
  • 11
0 votes
1 answer
475 views

Magento 1 ACL - access denied even though user has ALL rights (not admin rights)

I added a new user which has ALL rights. However, he can't open the site in admin under Catalog -> Manage Attachments. URL: /fileuploader/adminhtml_fileuploader/index/key/ I already logged the ...
user avatar
  • 2,380
0 votes
1 answer
120 views

Magento2 - Cron readiness check failure

Cron is not working properly showing error in /var/www/domain.com/var/log/update.log [2019-09-25 07:07:02] update-cron.ERROR: Cron readiness check failure! Found non-writable paths: /var/www/...
user avatar
  • 2,433
0 votes
0 answers
95 views

Magento 1.9 : How can I add a button in admin role edit form?

I need a custom functionality "Duplicate Role" in Admin > System > Permissions > Roles > Edit. How can I add an extra button in this form? Any help will be appreciated. Thanks in advance.
user avatar
  • 147
0 votes
0 answers
24 views

Magento 1 : Is it possible restrict admin user view only selected store details by using observer or anything?

How can i restrict admin user view only selected store details by using observer or anything?
user avatar
  • 103
2 votes
1 answer
576 views

Magento 2.3.2 : Site is down every time I install a new extension

Whenever I upload a new extension to my app/code folder, the site goes systematically down. I upload it using the magento user so there is no owner issue. I am in production mode. More specifically ...
user avatar
2 votes
1 answer
32 views

can't run setup:di:compiler

I can't run setup:di:compiler, the error are: Class Magento\Checkout\Model\DefaultConfigProvider\Interceptor generation error: The requested class did not g enerate properly, because the '...
user avatar
  • 27
3 votes
0 answers
155 views

Magento hangs when i click install, using wamp server

I'm trying to install Magento version 2.3.2 on a wamp server, Apache version is 2.4.39 PHP 7.1.29 MySQL 5.7.26 when i reach the install button after filling all my details it freezes on 0% and the ...
user avatar
  • 61
2 votes
1 answer
117 views

How to restrict user account based on website?

How to restrict user account based on website? How to create website wise user account in magento 1.9.2.3?
user avatar
  • 103

1
2 3 4 5 6