Questions tagged [permissions]

for questions regarding permissions of different user groups in wordpress

0
votes
0answers
8 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
6 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
27 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
34 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
10 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
24 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
14 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
16 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
10 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
18 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
35 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
18 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
20 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
0answers
192 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
12 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
21 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
67 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
27 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
142 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
50 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
561 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
12 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
35 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
113 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
87 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
36 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
0answers
29 views

Restrict specific user to manages posts in specific category

I explain this with an example. In my blog I have 2 users: John Paul that write posts. Posts have 2 categories (to be precise, it's a custom taxonomy): Cats Dogs John manages the Cats section of ...
0
votes
1answer
235 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
13 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
36 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 ...
0
votes
0answers
11 views

Temporary Permissions to Read a Specific Post

I am trying to deal with a workflow that creates multiple editors, and has a strict who can edit what when workflow. Currently I have it switch the post_author when we need an editor to take over, ...
1
vote
1answer
47 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
2answers
2k 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
24 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
29 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
37 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
63 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
67 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 ...
1
vote
0answers
24 views

Safari not “giving Permission to Open This Page” when trying to load pdf from wordpress site [closed]

I have a wordpress site, which I just moved from one domain to another, which caused some issues, which are mostly if not all fixed. I cannot tell you if the problem has existed before, since the ...
0
votes
2answers
77 views

Admin cannot publish

When I logged in on my site this morning I noticed that my user can’t publish anything. I am administrator and the only user on the site. On Posts and Pages instead of “Publish” I have the “Submit ...
1
vote
0answers
22 views

Linux Permissions and Ownership for WordPress

I installed WordPress via ftp upload to our server using my ftp user account. This account is different than the user that runs http/Apache. I am now trying to install themes and plugins and I am ...
2
votes
0answers
27 views

WordPress debug.log is not updating

In my wp-config.php file: define('WP_DEBUG', true); define('WP_DEBUG_LOG', true); define('WP_DEBUG_DISPLAY', true); @ini_set('display_errors',1); In my php.ini file, track errors is = Off /wp-...
2
votes
1answer
270 views

Safe to set permissions to 757 temporarily to update via wp-cli?

LEMP stack on digitalocean VPS. I haven't been able to get "wp core update" to work unless public (or "Other") has execute permission, i.e. 757 or 777. Otherwise, it throws "Error: Could not create ...
0
votes
0answers
675 views

Wordpress not generating .htaccess but tells me that (Permalink structure updated.)

I hope someone can help me. I am configuring my new Centos 7 server with directadmin and ran into the following problem(s); my .htaccess file won't generate after saving permalinks, but says (...
0
votes
0answers
14 views

Folder/File Permissions set to apache:apache, user can not longer has RWX permission in SFTP

i am sure this has been talked about a lot and i have googled this extensively find only half solutions to my problem. I am currently running apache(2) on Ubuntu 18.xx, with a number of different ...
0
votes
0answers
14 views

Why do some of my directories need to be writeable that shouldn't be?

Otherwise, the site turns blank. wp-content needs web user writable, wp-admin/includes also. i don't like it, from what I understand, I should be able to have all of this as read-only for the web ...
0
votes
1answer
15 views

Admin Access for specific page(s)

I'm working on a membership site in WordPress and I want a specific group of my users to be able to have access to a page I create, but then also have admin access to this specific page and be able to ...
0
votes
0answers
1k views

Blank image thumbnails in media library

I copied one website to other domain. i am using avada theme in my new domain all images show as blank thumbnails in admin but in website all images are show i checked permission of all folder and ...