Questions tagged [permissions]

for questions regarding permissions of different user groups in wordpress

Filter by
Sorted by
Tagged with
0
votes
1answer
23 views

allow non logged in user to upload images in media library

I have a website where I have a page that is accessible from any non logged in user . Its a form where I need to upload image through the form but when I try this its showing an error. But When I ...
0
votes
2answers
22 views

Permissions working but not working

Not sure what I changed in my Wordpress some days ago but today I was not able to update/install any plugin. I followed https://community.bitnami.com/t/wordpress-permissions-unable-to-create-directory/...
1
vote
1answer
17 views

Plugin updates change folder permissions

On one client WordPress site, when I update any plug-ins, all files and directories within that plug-in get their permissions automatically set to 766 - which means they aren't accessible by the ...
0
votes
0answers
9 views

upload permissions for imported users

I re-created a WP site and imported users from the old site to the new; they all have their own profile with pics, etc. However, the only way people can upload media is if I change the permissions of ...
0
votes
0answers
28 views

Restricting navigation/site structure management by group permissions

would have thought this is/was doable, even if not with out-the-box functionality then with some well established and well know plugins but tried searching but can't seem to find the answer/solution. (...
0
votes
0answers
112 views

WordPress php mysql errors - errcode: 13 permission denied

I'm developing a WordPress based website using the latest XAMPP release from Oct 9 2019 with Apache 2.4.41, MySQL/MariaDB 10.4.8 and php 7.3.10 using localhost on a Windows 10 machine. Since updating ...
1
vote
1answer
200 views

Correct wp-content ownership and permissions

I run an Ubuntu server for running many Wordpress websites. Every website is uploaded and managed by a separate system user. System users are allowed to FTP but not SSH into my server. And they are ...
0
votes
0answers
14 views

Fetching issue with Wordpress file in xampp local host

I am having problem in my localhost Wordpress file, it only shows fetching as in the images. How to solve? This is in MAC XAMPP>HTDOC-WORDPRESS
1
vote
1answer
1k views

403 Forbidden - You don't have permission to access /wp-admin/admin-ajax.php on this server

When I try to make a backup of my wordpress website through plugin I recieve the following error: "403 Forbidden - You don't have permission to access /wp-admin/admin-ajax.php on this server." This ...
0
votes
0answers
14 views

Restricting Editing/Publishing Based on Role

I'm looking for some help in restricting the ability of users to take certain actions in a fairly stock backend. The basic workflow is that only users in the role 'general_audience_write' or '...
0
votes
0answers
33 views

Nginx Reverse Proxy to Apache, wp-content permissions issue

I'm using Centos Web Panel with Nginx reverse proxy to apache to run my WP installs. I've installed Rocket Nginx for my config and it works great for the most part, however, i'm not able to upload ...
0
votes
0answers
81 views

Mamp Pro File Permissions

I use MAMP Pro 4 and Windows 10 to develop WordPress websites on my local computer. When an image is imported into the media library WordPress generates image sizes from this image and places them all ...
0
votes
0answers
16 views

Allow users without publish permission to edit the post date when submitting for review

For some reason when you remove a user's ability to publish posts, it also removes their ability to schedule a post on the post edit page. From the list view of all posts though, you can edit the date ...
0
votes
0answers
17 views

Nginx subdomain subdirectories return 404

Hi there I have successfully set up nginx sub-domain, and when I upload an image file to the root of the sub-domain I can open it by following the link in the browser. However, I then copied my ...
0
votes
0answers
43 views

How to allow each editors to only edit certain categories?

I have 6 users with an editor role, each editor should have access to 1 category (different for every 6 users). Besides this, I have another 20 users which are moderated by 1 editor, so 1 editor x 20 ...
2
votes
1answer
63 views

How can I set status='publish' for all featured images?

Background: I've come accross this WP issue: https://core.trac.wordpress.org/ticket/41445 In short: when you make a request to a post over the REST API, if the featured image was originally uploaded ...
0
votes
1answer
11 views

Different permissions for same type of post

I am building a website that has a bunch of pages and two post pages: News What's New Both of these pages will be like category pages. How can I allow one set of users to only create content for the ...
0
votes
0answers
44 views

woocommerce wizard: “Sorry, you are not allowed to access this page”

I've installed WordPress and Woocommerce on a local machine in my lab. When I try to run the wizard I am taken to a page that is featureless except for the message: "Sorry, you are not allowed to ...
0
votes
0answers
18 views

CentOS 7 cPanel - Setting Correct Permissions

I have a pre existing server running whm/cpanel which has a Wordpress site that needs to be moved to its own server. I have move the files and database across and everything is ready except for a few ...
0
votes
0answers
19 views

How to hide 'Submit for Review' button for a specific role in Wordpress?

Currently, I've got 2 roles which are Contributor and Editor, both of these roles are able to submit for review, but I only want Editor has this button and hide it for Contributor.
0
votes
0answers
12 views

Intermittent “You do not have permission to edit” showing up when posting

Sometimes (about 1 in 10 for me, more often for others) the alert shows up that says You do not have permission to edit when trying to save a post as pending, a draft, or publish it. User permissions ...
0
votes
1answer
45 views

read_post meta capability for anonymous users

read_post is a meta capability that can be used to check if a user can read a post. It can be used, for example, like this: if ( current_user_can('read_post', $post_ID) ) { // do something } No ...
0
votes
0answers
119 views

MAMP File Permissions

I am using MAMP Pro 4 on Windows 10 to develop WordPress sites. When an image is imported into the media library, the original image is placed in the uploads folder without proper permissions. ...
0
votes
0answers
19 views

Cannot write file when logged out

Trying to write files with .php extensions doesn't work when not logged in. I've created the dummy function below that works fine (writes both files) when logged in as an Administrator. But when i'm ...
0
votes
0answers
20 views

Problems updating & installing plugins even with correct directory permissions

I have been working on a LAMP server with many Wordpress sites where it looks like many permissions and file ownerships were changed and this WP itself couldnt update nor could plugins be updated or ...
0
votes
0answers
23 views

How to make a plugin api route have permission?

Hi I have a plugin for bookings installed. I would like to make WP headless so I'm using api calls of course, and my plugin has api routes to call. However, they are protected. :( How do I go ...
0
votes
0answers
24 views

Create a custom “you dont have permission” message

How can I create a custom "you don't have permission" message? I'd like to display some html here. Is that possible?
1
vote
1answer
2k views

Wordpress and Plugins can't be updated

I have a problem - when I click on "Wordpress update", I receive this message: Downloading update from https://downloads.wordpress.org/release/wordpress-5.1-new-bundled.zip… Unpacking the update… ...
0
votes
0answers
14 views

A WP dev site that displays content from a live site's database but cannot write to wp_posts?

Is there a way to setup a Wordpress site that uses another site's database but cannot write to specific tables (like wp_posts)? Basically I'm trying to set up a testing site that I could use to test ...
0
votes
0answers
23 views

Create a custom User Role within a Child Theme

I want to make a very custom user role; i.e. a 'sub admin' if you will. Some things I'd like to do would be to disable the 'html abilities' from within the 'edit page or edit post' mode for this user (...
0
votes
1answer
249 views

Wordpress users table missing indexes

I had someone on fiverr design a wordpress website for me awhile back. They sent me the database when they were done and I imported it on my server and set everything up. What I've since realized is ...
0
votes
1answer
57 views

Wordpress and Wordpress-test-lib not getting added to tmp folder

I’ve installed the wpcli and php unit testing to my imac and the wordpress and wordpress-test-lib files were added to my tmp folder as they should have. I used this to install the setup. bash bin/...
0
votes
1answer
446 views

failed to open stream: Permission denied for WordPress plugin

I'm installing my website on a new hosting company. All WordPress directories are chmod to 775 and the owner (plus group) is my account username, the same owner as when I create new files manually. ...
0
votes
1answer
59 views

Is there any way to make myself an admin?

Long story short, my client has a website with another company. They didn't make him an admin, but he does have access to the dashboard. I can't tell what his role is, but it's probably along the ...
0
votes
2answers
963 views

Error “Sorry, you are not allowed to access this page”

I renamed plugins folder, removed unused themes, checked wp_capabilities for my website, It's getting error like below after login page and redirecting to home page.
0
votes
0answers
16 views

Wordpress Posts from KC Section empty

Hello I installed a theme for wordpress and added an Author to add the content, author should use King Composer sections/templates library to Clone them inside new post. But I am unable to get it ...
0
votes
1answer
323 views

Can't add or delete plugins - but I'm an admin [closed]

as the title says, I have Administrator privileges but I don't have the permission to add or delete plug-ins. (Button/Links just aren't on the page) If I go to .../wp-admin/plugin-install.php I get ...
1
vote
1answer
309 views

Wordpress can't find temporary folder, but folder it's looking at has correct permissions

So, I've spent a couple of hours looking around the internet to try to figure out this problem, since it seems like a dumb one that would probably be a duplicate, but apparently it isn't. I'm hosting ...
1
vote
1answer
202 views

How To Reset Ownership And Permissions of Wp-Content Folder, In Order to Fix HTTP Error When Uploading Images to WordPress Media Library

I've noticed several articles about how to deal with the HTTP error when uploading images to the WP Media library: How to Fix HTTP Error When Uploading Images? However, I've already tried adding ...
0
votes
0answers
40 views

Front-end submitted post is published with admin ID as author

I have a form for registered users to submit a post from the front-end of my site. The post is registered in a custom post type, all works. But now that I have to add a button for the user to delete ...
0
votes
1answer
426 views

wordpress editor role remove all but 'menus' in appearance menu

I'm trying to remove access to everything in the appearance menu in WP admin for the role editor. Or at the least, just remove access to themes and plugins. I have found how to remove the whole ...
0
votes
1answer
15 views

How to lock all published posts so only admin can unlock delete and update permission

Lets say one has a AUTHOR role that has published thousands of posts and one wants a way to lock all the published posts by admin so that the author can not delete or update the posts..is there a way ...
-1
votes
1answer
53 views

Restrict the shop_manager role to the WooCommerce Orders Page

I want to show only the woocommerce orders page to shop_manager role, and restrict users with the shop_manager to only that admin page. If not show them this message: Sorry, you are not allowed to ...
1
vote
1answer
82 views

Copying uploaded images not working in wordpress

I am trying to copy an image uploaded using Contact Form 7 to the uploads directory but this only produces an empty jpeg file with 0644 permissions even though the dev directory and the uploads ...
1
vote
3answers
3k views

Remove admin bar for subscribers

I have a membership site. I need to disable the admin bar for the subscribers. I have used this code below: add_action('after_setup_theme', 'remove_admin_bar'); function remove_admin_bar() { if (!...
0
votes
1answer
26 views

WordPress permissions error with admin account

I have been assigned to manage a website that uses WordPress and hence have an admin account. It is hosted on a Linux machine. WordPress is not installed in the /srv/http directory. Instead, it is ...
0
votes
1answer
38 views

WP Plugin permissions - create new files

Scenario I'm trying to write to create a file in my plugin directory but I'm getting permission issues on plugin activation. I'm also trying to create/modify a file in the wordpress root directory (...
0
votes
1answer
41 views

Why is the 'Gutenberg' Plugin generating an 'Inconsistent File Permissions' error when other Plugins, with the same permissions, do not?

Earlier, I logged into a WordPress Dashboard I manage and saw that WordPress' 'Gutenberg' Plugin required updating along with a couple of other Plugins. All Plugins updated fine, with the exception ...
0
votes
1answer
102 views

Why is my WordPress Plugin page requesting my FTP Login Credentials?

I run my own VPS, which hosts multiple WordPress websites. When it comes to adding/removing Plugins via the WordPress Dashboard, I have never had a problem. For one of my domains, I wanted to ...
1
vote
0answers
115 views

How to force authors to 'submit for review'?

So currently when authors add a post they can publish it straight away. How can i change it so that all their posts need to be reviewed first? I've seen a few codes that can solve that but when it ...