for questions regarding permissions of different user groups in wordpress

learn more… | top users | synonyms

0
votes
1answer
26 views

Allow authors to post only in categories they create in WordPress

I'm looking for a way to allow users with an assigned WordPress role (in my case, author) to create new categories and then automatically be restricted to only posting in those categories or the ...
4
votes
1answer
23 views

What's the difference between the permissions “edit_published_posts” and “edit_posts”

What's the difference between the permissions "edit_published_posts" and "edit_posts"? It's not clear on the wordpress manual.
0
votes
0answers
9 views

Wordpress cannot upload files to server after recompiling PHP

Problem: PHP interferes with Wordpress ability to use write permissions on folders after recompiling PHP. This problem is so vast, yet no answer exists. Here is what does not work: Changing ...
-1
votes
1answer
320 views

How to make pages slug have priority over any category

I use WordPress. I need to show page instead of category when they have same slug. I have category called "Acne" with the slug "Acne" page and the category have the same slug. When I write ...
1
vote
1answer
1k views

The uploaded file exceeds the upload_max_filesize directive in php.ini

I'm trying to upload a XML file through Wordpress Importer It shows this error, no matter what the size of the file is. Even 10kb file throws up this error. My php.ini settings were set to 100MB, ...
0
votes
1answer
11 views

wp-content and wp-includes permissions being set to 0600 every 30 min or so [on hold]

I have about 6 sites on a Media Temple server. Each one is WP. The sites run fine, its just the javascript files permissions are being set to 0600 for some reason. Returning a 403 when the site loads ...
0
votes
1answer
13 views

Saving file to disk receiving fopen error

I have a requirement to save a json file to disk. I've got as far a the below php. However i get the following error. fopen(/wp-content/content/uploads/artworks.js): failed to open stream: No ...
-1
votes
1answer
26 views

Event Manager Plugin

I am using the Events Manager plugin (https://wordpress.org/plugins/events-manager/). All users are able to posts events and can view their own events when logged in. I was wondering does anyone know ...
1
vote
1answer
7k views

Forbidden 403 error, permission to access, unable to read htaccess

Recently clean-installed (with exception of themes and content/upload folders) an old wordpress to the latest Wordpress 4.2.2. I continue to get this error below whenever I load files such as ...
0
votes
1answer
29 views

How do I fix “You are not allowed to edit this item.” for Admins on existing posts?

I'm doing some work for a new client (non-tech, their former tech person left). Their version of Wordpress is 4.3.2. I have an admin account and I'm unable to edit existing posts. I can create new ...
0
votes
1answer
699 views

Permissions to wp-content folder in Windows Server 2012

I've made some tests to solve this problem: trying to update some plugins via Wordpress backend I always receive a "Unable to create folder" error. So I've initially added IIS_IUSRS with ...
0
votes
1answer
19 views

What is the “user account” for WordPress’ file permissions?

I have a wordpress install that I would like to tighten up the security on. I am reading the wordpress help page on hardening wordpress ...
4
votes
1answer
2k views

Export data as CSV in back end with proper HTTP headers

I wrote a plugin that displays all products in a woocommerce store in admin settings option, now I want to add a link to download the products as CSV file. The problem is, when I click the link I get ...
0
votes
0answers
7 views

Editor user role dashboard permission issues after standalone site has been integrated into multisite

I recently integrated a standalone Wordpress site into a multisite/network instance. When one logs on with a "Editor" user role level to the newly integrated subsite the following message is ...
0
votes
1answer
2k views

Prompted for FTP details even with FS_DIRECT set to true

I am running WordPress 4.1 Multisite on CentOS with NGINX. I have set define('FS_METHOD','direct'); in wp-config.php but am still getting prompted for FTP credentials when trying to install a plugin. ...
1
vote
1answer
59 views

WP can't create new directory

Edit2: I'm renaming the question from "WP didn't add theme automatically" to "WP can't create new directory" because I found out that the problem is a little bit more complex. The same error is going ...
0
votes
0answers
11 views

Show authors own posts AND all other authors published posts in dashboard

In the Backend Posts section I'm looking to show only the logged in authors posts and all other published posts. e.g. Author 1 has 3 drafts and 1 published post. Author 2 has 4 drafts and 1 published ...
0
votes
1answer
423 views

Which WordPress scripts need to be executable for a fresh installation?

For security reasons I need to block access to scripts that will not be executed on a fresh WordPress installation. Example: /index.php --> needs to be executable /wp-includes/cache.php --> should ...
0
votes
1answer
1k views

wordpress upload permission on nginx & ubuntu

I have a problem with wordpress upload folder permission on nginx/ubuntu VPS. keep getting the error: “asr.jpg” has failed to upload due to an error Unable to create directory uploads/2014/02. ...
0
votes
2answers
29 views

How to redirect users without permission to view content to a custom page?

I want users who don't have permission to view content to be redirected to a page when they are presented with the default "Nothing Found" page. I've already redirected 404s but this is not exactly a ...
0
votes
1answer
31 views

Force “submit for review” on update?

I'm trying to force all content to be submitted for review. That means that if a user updates an already published page, that the update would be pending until someone else approves it. I don't see ...
0
votes
3answers
44 views

SSH vs Wordpress

To modify files via SSH I need to have the files owned by ubuntu:www-data. But for wordpress to be able to install or update plugins I need to have the files owned by www-data:www-data. Any way around ...
0
votes
0answers
9 views

Woocommerce Dealer User Role

Woocommerce documentation mentions a "shop manager" role which I do not see in v2.4.10. Does the "dealer" role have same permissions as "shop manager"?
0
votes
0answers
24 views

Image uploads but is blank in library (question mark thumbnail)

When I try to upload an image using the standard WordPress backend functionality, it uploads but shows up as a thumbnail with a question mark. Upon clicking on the thumbnail, I can see that WordPress ...
0
votes
0answers
36 views

Avoid 'uploads' 777 permissions: Potential threat or clean solution?

Recently changed hosting of a website and found the upload directory of WordPress wasn't "available". I have been reading that setting folder permissions to 777 would allow everything to work fine, ...
0
votes
1answer
28 views

Plugins & backup not working correctly on new Digital Ocean server

So I just fired up a new Digital Ocean droplet running Ubuntu 15.10x64 and I'm setting up a Wordpress environment. I am setting it up from scratch without a Wordpress image. I followed a lot of the ...
12
votes
4answers
9k views

How to to secure WordPress file and folder permissions

I've read articles about protecting wp-config.php using .htaccess as well as setting the correct file permissions but I want it all in one place. What should my .htaccess file look like and what ...
0
votes
2answers
42 views

You need to login with a user that has edit posts capacity?

I have a network blog and after the user has created a site they are getting an error when trying to save their post: You need to login with a user that has edit posts capacity Shouldn't they ...
0
votes
1answer
18 views

Auto-update failing with “hardened” permissions

I've attempted to set up my wordpress install as recommended in the Codex's "Hardening WordPress" article. That is: All files are 644, all folders are 755 Everything owned by the user account ...
12
votes
3answers
29k views

Allow member to have access to custom post type only. Permission to only edit their own posts

OK I'm looking for the best way to attack this. I'm very comfortable with PHP and making custom post types with custom meta fields in WordPress. Here is what I'm looking at doing: User registers ...
0
votes
1answer
494 views

Auto-Upgrade to 4.2.2 fails because theme functions.php is included instead of wp-includes/functions.php

I'm trying to upgrade WordPress to the latest 4.2.2. On the screen, I'm seeing: Downloading update from https://downloads.wordpress.org/release/wordpress-4.2.2-no-content.zip… Unpacking the update… ...
2
votes
2answers
6k views

How to stop wordpress from changing default .htaccess permissions to 444

I installed my website using an installer - fantastico for a quick install. Just a few days ago, I started getting a weird error in w3tc plugin and it would ask me to update via ftp as you can see ...
1
vote
3answers
77 views

Updating plugins asks for FTP information, why? (this is a new one)

First off, this has nothing to do with permissions, I already checked that. So please don't mark this as a duplicate. Any time I try to update a plugin, I get this dialog: I went overboard and ...
0
votes
0answers
22 views

How to get permissions to read the post

I have a problem to make this kind of functionality within Wordpress. Three equal user groups: A, B and C. I have a list of all posts with different permission assigned to read them: posts open to ...
0
votes
1answer
78 views

User permissions to upload images

I added TinyMCE editor to fronend page via wp_editor() function. I am trying to give user ability to upload images via "Add Media" button in that editor. Which permissions should I give to user for ...
0
votes
0answers
8 views

What are the proper file & directory permissions for WPMS

I am looking for some sort of concise reference document that indicates what the proper *nix permission settings need to be for all WordPress files and directories. I am also would like to know what ...
1
vote
2answers
1k views

Running WordPress as FTP user?

I've been doing some research on file permissions as of late, as my WordPress installation on my VPS doesn't have write access. From what I've heard it's very dangerous to make the apache user the ...
0
votes
0answers
77 views

Folder Permissions, fsockopen enabled and cURL is disabled

Hello I recently migrated my wp site to a new host and it has being nightmare since i am not able to upload pictures to the Media gallery and install plugins. WP keeps showing me this error and when ...
0
votes
0answers
11 views

User only edit CPT with slug that matches username

I'm in a situation that necessitates I complete this project within a week. So any help or specific guidance to my question would greatly appreciated. Is it possible, without creating an incredible ...
1
vote
1answer
178 views

Wordpress in IIS 7.5 - “cannot create directory”

This is a common problem (so I've found out) but I cannot get WP to play nice with IIS 7.5 / PHP 5.6. Updating (WP + plugins) and installing (plugins) always return the error "Cannot create ...
10
votes
3answers
328 views

What is valid timing of using current_user_can() and related functions?

During the vanilla WP core load the current user is being set up in $wp-init() which is after theme load and before init hook. This is in line with good practice of functionality getting hooked to ...
0
votes
0answers
58 views

wp_login_form to redirect the same as login_redirect filter

I have installed the plugin WPFront User Role Editor and it has redirect settings so that you can specify where each type of user is redirected upon login. This works great for the regular login form ...
0
votes
0answers
48 views

sufficient permissions to access this page

I recently changed my DB password as security measure after having discontinued services of a coder I had worked with. I updated my wp-config file so everything is working fine except the page(s) the ...
3
votes
2answers
357 views

Allow User to Edit Page Based on their Email

Quick Info I am using the Posts 2 Posts plugin in order to create a relation between Teachers and the Classes they teach. The teacher's page is a custom post type of faculty in which teachers are ...
1
vote
1answer
45 views

Set default page for user account in admin

I have set up an ecommerce site using wordpress/woocommerce and am now adding the users who will be dealing with the orders to the site. The only part of the site that they need to have access to is ...
-1
votes
1answer
1k views

how to remove some permissions from a shop “manager role” in woocommmerce?

well, I'm using woo-commerce plugin to manage a shop. I need to add a user who can manage products(add new, edit). so I added a user and gave him a shop manager role, but the permissions granted for ...
0
votes
0answers
52 views

Set wordpress permissions correctly on Centos 6.5 VM + apache 2.0

I've a Centos 6.5 VM with apache 2.0. I'm tring to understand how wordpress permissions should be set, in order to have a safe environment and make it update via Wordpress UI rather than ftp. This is ...
0
votes
0answers
31 views

how do i use user_has_cap hook to restrict access to some fromidable forms?

I would like to restrict access for 3 users to access three specific forms, so one form each and be able to edit it; Without seeing other peoples forms. how can i achieve this? This is how far i have ...
0
votes
1answer
151 views

Return scheduled posts with WP REST API

I'm using WP REST API plugin for a custom web application and I need to get access to the scheduled posts of the target wordpress website. However I can't find any parameter or filter to achieve this ...
0
votes
0answers
129 views

Failed to open stream: Permission denied

I am getting this error throughout my WordPress site. Warning: imagejpeg(/home/petsp_f/public_html/wp-content/uploads/2014/10/filename-66x66.jpg): failed to open stream: Permission denied in ...