Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [permissions]

for questions regarding permissions of different user groups in wordpress

0
votes
0answers
15 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
9 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
13 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 ...
-1
votes
0answers
16 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
17 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
16 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
18 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
49 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
11 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
19 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
30 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
14 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
81 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
44 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
0answers
325 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
9 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
28 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
0answers
57 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
51 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
19 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
134 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
12 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 ...
0
votes
0answers
71 views

Correct permissions for wp-signup.php and other files in wordpress for update?

I am trying to update my WordPress site to 4.9.8 but i get the error The update cannot be installed because we will be unable to copy some files. This is usually due to inconsistent file ...
-1
votes
1answer
32 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
10 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
40 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
1k 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
21 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
28 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
32 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
45 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
59 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
22 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
76 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
21 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
23 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
212 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
583 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
13 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
14 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 ...
0
votes
1answer
70 views

WP_Query: Query posts only if their access is restricted to logged user's role

So this is what I'm trying to do. I have some posts that are visible only to users with a certain role. I want to display them in a user's profile section, so they're immediately visible after they ...
-1
votes
1answer
26 views

New folder and file permissions are not correct

I have read through a bunch of sites, but I could only find the right permission to set to existing files and folders, but I could not find anything related to the new files and folders to be created. ...
2
votes
3answers
110 views

Wordpress roles - Protect administrator role

We want to provide owners of their site, administrator role, but we don't want them to delete user 1. We also don't want a cheap solution which stops their admin account from being able to delete ...
0
votes
0answers
12 views

Why aren't my posts being saved or published?

I have migrated my site from a shared hosting provider to my own dedicated server and and am experiencing issues with writing posts. When I create a new post and press either save or publish, the ...
2
votes
3answers
143 views

Can I create users that have access to *some* other users posts instead of all other users posts?

I’ve been using basic user rights functionality on a multi-user WP site for a while and its worked out great, having most user accounts just have access to their own posts but a few “editors” having ...
0
votes
1answer
28 views

How do I customize the dashboard?

I've been using Drupal for almost two years now so I know nothing about Wordpress. I have configured everything on my website to work how it should and I love it. I created a new user using the sign-...