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
0answers
117 views

Restrict the role permission to read only

I have built my Magento store with the Magento - 1.9.X.X I am trying to create a role with just read-only permissions to all the modules in the admin end. The user should be able to view all the ...
1
vote
1answer
320 views

Magento 2 User Permission Denied for Admin user

I was creating user roles & permission as an admin in Magento 2, then I mistakenly denied myself permission to add roles and permission. Now It's showing "Access denied". I can't add or change my ...
4
votes
3answers
635 views

Magento 2: 403 error after issuing setup:upgrade command

I have set 777 permissions for pub/ and var/ directories. I have run php bin/magento setup:upgrade. A 403 error is displayed when accessing any page on the website with the following message: ...
0
votes
0answers
76 views

Magento 2 - change user in Ubuntu

My previous directory is this pratyush@pratyush-To-be-filled-by-O-E-M:~$ but when I run sudo -i for removing xampp then it's showing this root@pratyush-To-be-filled-by-O-E-M:~# How can I move ...
3
votes
0answers
212 views

Production mode won't geneate files inside var/view_processed folder

When I open the frontend and backend I always got an error like this: "Warning: include(/var/www/test.com/var/view_preprocessed/html/vendor/magento/module-theme/view/base/templates/root.phtml): ...
1
vote
1answer
656 views

Installing Magento 2.2.4 on windows localhost using xampp

I am trying to install Magento 2.2.4 on windows localhost using XAMPP. My XAMPP is installed I C:\xampp7.1 To use command line I using Command prompt in C:\xampp7.1\php> And the following ...
1
vote
0answers
82 views

How can a role user see only own products not other users in Magento 2?

I am troubling with user roles in Magento 2. When I am trying to assign product permission to a user who can see only own products but all products displaying to him. How can I set a role in which ...
2
votes
1answer
125 views

How to put ACL on customer grid's export to CSV, based on roles?

Trying to put ACL on customer Grid's export to CSV functionality based on user role. Add following fode in my module's adminhtml.xml file acl section <config> <acl> <...
0
votes
2answers
1k views

How to fix missing permissions?

How to fix missing permissions? I'm using Magento 2.2.3. Switched from production mode back to developer mode missing generated, var, pub permissions Step 1 rm -rf generated/metadata/* generated/...
0
votes
2answers
1k views

Problem with update from 1.9.3.7 to 1.9.3.8

Yesterday I tried to update my 1.9.3.7 Version to 1.9.3.8 I tried it with the connect manager. While the process the update stucks with magento "Checking dependencies of packages". After a few time I ...
1
vote
0answers
77 views

Cannot export profile, permissions

I have an issue when I'm trying to make an export via Magento 1 profile, so it showing me an access forbidden exception: I tried to set up 777 recursively for var folder, checked user and owner group,...
0
votes
1answer
140 views

Issues with Magento 1.9.x and cached images frontend permissions

We are trying to get a magento to run on a cpanel server, main issue right now is actually that all the generatet cache images for the front end ends up with 0640 and folders with 0750 this is an ...
0
votes
1answer
107 views

First PDF download always redirects to the admin dashboard

The first time you try and download a PDF from the admin area after logging in (for example "Print" when viewing an order invoice) you get redirected to the administrators dashboard. The next time ...
0
votes
2answers
391 views

Allow edit product attributes on user permission [closed]

I need my users not able to edit attributes, but they can view the attributes.
3
votes
3answers
5k views

Magento2 throws 500 internal server error

I installed Magento2.2. After installing when I visit the site, it shows 500 Internal Server Error The same for admin section as well. I removed my .htaccess from root folder and tried. This ...
0
votes
0answers
236 views

Magento 2:User Permission via API Rest

I have a multi-store magento 2 installation where the stores are totally independent, from different companies. So, we have an integration with our ERP system in the company. Each user in our system ...
1
vote
2answers
1k views

Unable to delete Magento 2.0.7 image cache

When I try to Flush catalog images cache I get the following error The file /home/shaffersuiting/public_html/project/pub/media/catalog/product/cache/1/swatch_image/30x20/...
1
vote
2answers
6k views

Can't create directory

[2018-01-12 11:58:16] main.CRITICAL: Can't create directory /home/hortbrascom/public_html/generated/code/Magento/Framework/App/Http/. in [Magento\Framework\App\Http\Interceptor] {"exception":"[object] ...
1
vote
5answers
869 views

Magento 2.1 pub/static permission

i have some trouble when i run command php bin\magento setup:static-content:deploy it always keep missing permission when create new folder even after i assign full permission (i'm using windows) and ...
0
votes
1answer
33 views

Tracking error Mage_Freight_Helper_Data on Editing permission roles

The magento is giving this error when i access index.php/admin/permissions_role/editrole/rid/1/: Fatal error: Uncaught Error: Class 'Mage_Freight_Helper_Data' not found in ../app/Mage.php:547 Stack ...
0
votes
1answer
117 views

Item (Mage_Admin_Model_Block) with the same id “0” already exist

When I am trying to add new block permission from System->Permission->Blocks->Add New Block . Can any one tell me that how can I recover from this error. Magento Version : 1.9.3.4
1
vote
0answers
391 views

How to set & write the magento_umask file in the directory file system?

I'm sorry I am a beginner. I installed the last release Magento 2.2.1 on a shared hosting platform called OVH. All the installation has been a 100% success. But now, I am facing permission & ...
1
vote
1answer
174 views

Magento 2 styling issues after switch from default to production mode

I thought I should switch to production mode from default mode as I got closer to launching my site. As soon as I did that, the formatting of my front-end and admin section got really messed up. The ...
1
vote
2answers
576 views

Cant access images in /pub/media/customer

I have added custom attribute for profile image upload. Now when i access customer image on front end it shows 404 error and donot access images in this folder /pub/media/customer .
1
vote
0answers
262 views

How is ownership of generated files determined in Magento?

Since I started working with Magento 2 I have had consistent problems with permissions, usually with the var/cache directory. Typically when I clear cache using the command line I start running into ...
1
vote
1answer
64 views

Recurrent Error when updating products in Magento Db

Wondering what this error could be in 1.9.3.6 cms: The db field size is 'nn' bytes to small to save the group permissions. Please enable the configuration setting to dynamicaly grow the field length ...
1
vote
0answers
402 views

Magento 500 Internal Server - No Log Files? [closed]

I have just upgraded my site from Magento 1.7 to 1.9 and i'm now getting a 500 Internal Server Error. From other posts, I have done the following: Deleted the maintenance.flag file Changed permission ...
0
votes
1answer
24 views

ACCESSING PERMISSIONS OPTION

There is no PERMISSION in the drop down options if I click on Reports in the admin-panel . Am i missing something?
3
votes
0answers
1k views

How to restrict access to user for particular store in Magento 2?

I have a requirement where multiple stores are created under one website. Now, I want to create role so that role has access only to the particular store. For e.g. If there is role Dell Manager so ...
0
votes
2answers
231 views

Not able to add permission on category in Magento 2

I have gone through document and can see that we can add permission to category without any plugin. Link: http://docs.magento.com/m2/ee/user_guide/catalog/category-permissions.html But I am not able ...
0
votes
2answers
476 views

How do I manually add a permission for a Static Block to the Database?

My Static Blocks aren't displaying in my cms pages when I add them to the content tab with {{block type=”cms/block” block_id=”product_view_block_3”}} BUT it's not showing. Apparently I have to ...
0
votes
1answer
1k views

Magento: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)

I have Configured Magento With Valid Credentials. But, it shows SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO) . I have Cleared Cache(Deleted var Folder). Cross ...
0
votes
4answers
2k views

Magento 2 Permissions Problem

Can someone please advise me on the following problem Here is a link to a video showing what is happening https://vimeo.com/228143296 I strongly believe this is a permissions problem In video clip ...
1
vote
2answers
2k views

failed to open stream: Permission denied on magento

I want to add a new module for export attributes in magento, so this is the module. When I upload this module, I have this error in my system.log and I don't understand why it speaks to me of ...
2
votes
2answers
5k views

Magento2 admin logo showing 403 Forbidden error

I have installed magento2.1 and all works fine except admin logo, it is showing as broken and in console it is showing 403 error . Forbidden You don't have permission to access /pub/static/adminhtml/...
2
votes
3answers
8k views

Trying to install magento 2 and get page_cache is not writable

I'm trying to deploy magento 2.1.3 installed with composer on a CentOS 7 machine with apache 2.4 and it returns the error: [Mon Jul 03 17:15:55.678068 2017] [:error] [pid 16315] [client 211.159.221....
2
votes
1answer
424 views

Magento 2 - Session based authentication doesn't work

I don't know if this is a bug in Magento 2 API or not, so I didn't post it on Magento 2 Github issues. According to this link: http://devdocs.magento.com/guides/v2.0/get-started/authentication/gs-...
0
votes
1answer
87 views

Adding a custom theme for design changes

I am completely new to Magento and am having some trouble moving around in the files. I installed the Magento 2.1.7 CE with sample data. We had a company migrate all products and information from a ...
5
votes
2answers
2k views

Permission change after setup:upgrade

For some reason every time I compile or setup:upgrade the file permissions on my server change and my site's layout is affected. Does anyone know what can be causing this?
0
votes
1answer
226 views

Magento connect manager page just shows “Permission denied for write to” (Magento 1.5.1.0)

One of our client wanted to upgrade existing Magento website which is Magento 1.5.1.0. I was able to setup the website in our local environment successfully but when I try to navigate to the "Magento ...
0
votes
1answer
26 views

Change Exception Permissions

Magento is writing exceptions to var/reports with 0640 permissions, owned by "nobody". My user can't access them. How can I change this?
0
votes
1answer
2k views

Failed to load resource: the server responded with a status of 403 (Forbidden)

I'm trying to install a module and I'm getting the following error when I navigate to the page to load it. As you can see it is saying 403 error Everything I have seen says that it is a permissions ...
1
vote
1answer
378 views

Magento 2.1.6 - File permissions keep resetting some to none

So i run the necessary permission commands for my Magento installation, i then notice the permissions change by them self and some folders all of a sudden have no permissions set, for example in the /...
0
votes
2answers
625 views

Magento 2.1.6 - cronjob only working if i run commands not by schedule

I have gone through many pages regarding setting up cron correctly, whilst magento passed the readiness check on an extension install for cron, it still does not seem to run unless i run this command: ...
0
votes
1answer
173 views

Magento 2.1.6 - Component Update update/index.php server error

When trying to install a component in magento 2.1.6 every check passes, backup completes and when i go to press the install button i get directed straight to a 500 internal server error page. I have ...
5
votes
1answer
2k views

Magento 2 : User Role and Permission Issue (ACL Issue)

In my magento2, I have created one user role with custom permission in which I give permission only for "Shipping Methods" to user. When I login with this user, it also show me other custom extension ...
0
votes
1answer
612 views

Magento 2.1.6 - update cron.php permission denied

Running Magento 2.1.6 and after going through many other problems this I hope is the last one. When I attempt to run //update/cron.php in ssh I get permission denied, this don't natter if I am using ...
0
votes
1answer
177 views

Permissions on /var and /var/log

I set all the permissions and recommended by the documentation. However, anyone can still see the log files from the browser since the var/log folder has read permission. How is that handled ? by ....
0
votes
1answer
4k views

Magento 2 Installation on root directory

Why do we have to install Magento 2 in Magento2 folder. Cannot we install Magento on root. How should i work on the ownership of Magento, if i install Magento 2 on root directory. PS: If i install my ...
0
votes
1answer
352 views

Magento 2 Community Edition Installation Issue - General error: 1025 Error on rename (errno: 13 “Permission denied”)

[ERROR] exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 1025 Error on rename of '.\magento12#sql-29a8_39' to '.\magento12\catalog_product_entity_media_gallery_value' (errno: 13 "...