Questions tagged [permissions]

for questions regarding permissions of different user groups in wordpress

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

Groups and subgroups for permission

I have a problem. I would like to have "groups" to give access to posts. And "subgroups" to show different sections of that post. A simple example: "Only users from Group 1 can access to Post 1. And ...
1
vote
1answer
2k views

Wordpress monthly upload directory owner set to root

This is a weird one. Wordpress by default stores uploaded media in monthly sub-directories of the uploads directory. Eg wp-content/uploads/2016/07/ On one of my sites, this directory's owner gets ...
1
vote
2answers
2k views

Allow contributors to create page (but not publish)

Contributors can create post drafts but not publish. I'd like to add the same permission concept but to Pages. That is, can I allow a Contributor to create a page draft only to have an Editor/Admin to ...
0
votes
1answer
425 views

Moved Wordpress to other folder (Windows) WAMP = 403 Forbidden

I am using a local install of Wordpress for offline development on a Windows 10 machine, with WAMP on the server side. This morning I have moved the folder containing the wordpress from c:\users\...
1
vote
0answers
469 views

Unable to Access WP Admin or Login buttons after Migration

After migrating from IIS server over to CentOS, I am having a hard time logging into my admin. When I did manage to login it said the User had no permission to login into WP Admin so it was the ...
1
vote
0answers
166 views

What is this code in my theme's footer.php causing chmod permission warnings? [closed]

I am stumped on this and can't seem to fix the issue. I removed the code, that didn't work as it came back. I tried looking throughout my theme's files and can't see anything else. Does anyone have ...
2
votes
0answers
41 views

How can I restrict a user to a specific item in the Wordpress Admin? [closed]

Let us assume I want to restrict someone only to accessing the comments section of the WP-Admin interface. I don't think that this functionality is covered by the default group permissions. How ...
53
votes
6answers
104k views

to perform the requested action wordpress needs to access your web server. please enter your ftp

I'm following Changing File Permissions « WordPress Codex, yet when I'm try to update and/or install plugin and/or theme through wp-admin, I'm getting following: To perform the requested action, ...
0
votes
1answer
534 views

Public and Private keys incorrect for user

I am attempting to set up a WordPress installation on a DigitalOcean Ubuntu droplet, however after following the instructions on https://www.digitalocean.com/community/tutorials/how-to-configure-...
2
votes
1answer
2k views

Multiple Authors on Single Post

Does anyone know how to assign multiple Users as authors of single individual posts (even single custom post types)? I want more than just displaying as tags the list of authors. I am looking at the ...
1
vote
1answer
233 views

Pagination Error on Admin (You do not have sufficient permissions)

Hi everybody and tks in advance for your help! I have a plugin and I was trying to do some pagination for a custom query. Everything seems to work fine, but when I click on page 2 (or whatever not ...
2
votes
0answers
496 views

How to debug “You do not have sufficient permissions to access this page”? [closed]

The error You do not have sufficient permissions to access this page when trying to access wp-admin can result from many causes. How can I debug effectively what is causing the problem? Is there any ...
0
votes
2answers
1k views

Admin page and admin menu. Permissions plugin

I'm trying to write a simple permission admin page plugin. So far I made a page with every role where I can check a certain menu page to be disabled from menu. I simply get global $menu and save to ...
3
votes
1answer
9k views

Moving Media Library

I downloaded all files from wp-content/uploads and copied to new Wordpres instance on localhost (Windows IIS Express also on MacOS with MAMP). Unfortunately in both cases I don't see my files in Media ...
1
vote
2answers
472 views

What user/group does Wordpress belong to in terms of file permissions?

When I check the file permission on a newly, locally installed Wordpress site (i.e. downloaded from wordpress.org/download) the owner is ll782 (my username) and the group-owner is admin. Wordpress ...
0
votes
1answer
80 views

Why can I upload files but need FTP login for plugins

I know this is probably a file permission issue, but I can't figure out why it's happening. (I'm more trying to understand what's going on rather than looking for a quick fix.) Why would I be able to ...
0
votes
1answer
2k views

wordpress theme install failing

I am trying to install wordpress theme on my site, but is failing with message Could not copy file. catch-responsive/404.php Folder permissions are as - ftp user is owner of the whole wordpress ...
0
votes
1answer
1k views

Centos 7.2 wordpress on going to /admin shows Forbidden You don't have permission to access /wordpress/wp-admin/ on this server

I have Centos 7.2 on our production server. When I try to go to admin on http://patrickheide.com/wordpress/admin or http://patrickheide.com/wordpress/wp-admin It shows the error "Forbidden ...
0
votes
1answer
599 views

Remove Custom Capability

I have created a custom post type 'book'. All book post-type are public, so I want to remove some capabilities such as 'delete_private_books', 'read_private_books' etc. How can I achieve this since ...
1
vote
1answer
265 views

You do not have sufficient permissions to access this page on a submenu

I'm writing my first plugin for WordPress and am running into a permission issue when trying to pass a parameter to a page. I've added a submenu page to process a delete for a category from the ...
-1
votes
1answer
3k views

Debug errors for “Destination directory for file streaming does not exist or is not writable”

I'm system administrator, and quite befuddled as I find way to make a debug to know why error message you receive one of my users when trying to update their plugins. Server Apache 2.4 PHP 5.5.32 PHP ...
0
votes
1answer
786 views

WordPress 4.4.2 Update not working

I would like to use Auto Update feature to update wordpress. I see this question was asked 5 years ago I would prefer doing the upgrade using Automatic update instead of manual process and fix what's ...
1
vote
1answer
1k 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 ...
5
votes
1answer
278 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.
1
vote
1answer
400 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 ...
3
votes
1answer
24k 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
993 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 (https://wordpress.org/support/article/hardening-wordpress/#file-...
1
vote
1answer
182 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
2answers
1k 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
751 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
4answers
285 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
1answer
1k 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
89 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 ...
0
votes
2answers
302 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
389 views

Auto-update failing with “hardened” permissions

I've attempted to set up my WordPress installation as recommended in the Codex's "Hardening WordPress" article. That is: All files are 644, all folders are 755 Everything is owned by the ...
0
votes
1answer
2k 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 ...
4
votes
1answer
4k 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 directory"....
10
votes
3answers
1k 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 ...
3
votes
3answers
41k 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 style....
0
votes
0answers
54 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 ...
1
vote
3answers
2k 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 ...
2
votes
1answer
1k 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 ...
0
votes
1answer
1k 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
2answers
115 views

Plugin PHP write permissions

I wrote a plugin in which one of the PHP files itself opens and writes another small text file. How to grant this PHP file the right permissions?
0
votes
1answer
593 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… ...
1
vote
1answer
5k views

Managing Users and Creating Groups [closed]

We're going to be transitioning from a small, outdated CMS that's no longer supported, to WordPress for our new CMS. Our old CMS allows us to restrict access on the back-end so that by default User A ...
1
vote
1answer
69 views

Permission issue with custom post type - not added to menu - by plugin

I've created a custom post type and taxonomy like this... function register_post_type_products() { $labels = array( 'name' => _x('Produkter', 'post type general name'), ...
3
votes
2answers
3k views

wp-admin redirecting to https, denying login

I use cloudflare via the cloudflare plugin, have SSL enabled. Enabled ssl within the wp-config.php file: define('WP_HOME','https://example.org'); define('WP_SITEURL','https://example.org'); $...
0
votes
2answers
13k 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
1answer
2k views

wp-content - permissions for files/folders created by apache

My wp-content folder has owner User and group www-data. The permissions are 775 for folders and 664 for files, so the server can write inside the folder. But when the server creates folder and files ...

1 2 3
4
5
9