for questions regarding permissions of different user groups in wordpress

learn more… | top users | synonyms

6
votes
2answers
1k views

How to prevent a post from being deleted?

For auditing issue, I only want a post can be trashed, but not deleted - for all users. So I have a plugin like add_action('before_delete_post', function($id) { wp_die(0); }); But ...
0
votes
1answer
115 views

How to hide wordpress error message?

how to hide wordpress error message "You do not have sufficient permissions to access this page" and show 404 error page for all non administrator's request like e.g mydomain.com/wp-admin/plugin.php ...
0
votes
1answer
200 views

My Account Lost Administrator permission

Need help to solve this problem. First i did reflush all upgrade that didn’t complete that cause "WordPress Error: You do not have sufficient permissions to access this page" with force upgrade: ...
0
votes
0answers
106 views

Used Duplicator to transfer a site. Now my media uploads aren't working

I deleted an image from the Media tab and when I tried to upload another, I started getting this error: The uploaded file could not be moved to wp-content/uploads/2014/10 I tried CHMODing the ...
4
votes
1answer
476 views

Can't preview drafts after upgrade to 4.0!

I recently updated to wordpress 4.0. However, when I try to preview my drafts, I receive an error saying that I do not have the permission to do so. I've cleared my cache and cookies and restarted my ...
2
votes
1answer
3k views

Could not create directory

I have followed the instructions from https://help.ubuntu.com/community/WordPress ...
0
votes
1answer
113 views

Wordpress file permissions for editing on local Ubuntu development machine

I've seen a couple of solutions on this site that solved some permission problems, however, they seem that they create others, at least for me. My setup is a local wordpress installation on Ubuntu ...
0
votes
0answers
110 views

Cannot upload with 777 via plupload on Ubuntu 14

I'm using plupload in a HM plugin to let the users upload there logo. I just noticed that it only works on windows local server and in production mod. But on my test servers (2 servers both with ...
0
votes
1answer
35 views

Should I change the default file and folder permissions?

After reading the Hardening WordPress article I realise a good permission scheme is essential to the security of my WordPress installation. The article suggests a possible permissions scheme but my ...
0
votes
1answer
102 views

Uploaded files have permission 000

two days ago i updated wp to the newest version and this problem occurs since then. when i upload files to the media library, their file permissions are set to 000. means no rights. the files are ...
0
votes
2answers
52 views

page creator to leave comments ONLY

I am trying to set it so that the person who created a Page is the ONLY one who can comment on that particular page. This will be a logged in person. I haven't had any luck with Role Editor Plugins. ...
7
votes
1answer
9k views

when FS_METHOD = 'direct' is chosen?

According to the Wordpress Codes FS_METHOD = 'direct' is chosen when appropriate. (Primary Preference) "direct" forces it to use Direct File I/O requests from within PHP, this is fraught with ...
0
votes
1answer
222 views

Restrict access to trash, only admin

I'm new in WordPress. I have to restrict access to the Trash for all users except the administrator. All users CAN move to the Trash, but only admin can delete permanently or restored. I do not know ...
0
votes
2answers
658 views

Can't Install Standard Plugins on a Local MAMP installation

I've tried to install two standard plugsins (wp-touch was one). I have a local installation under OS 10.6 and MAMP which otherwise seems to work fine. I select the zip file but get the error ...
3
votes
1answer
117 views

Why is group ownership with rwx permissions not enough?

Running PHP 5.4 and Apache2 on Debian 7, with apache configured to use user www-data. I'm trying to figure out why Wordpress cannot modify files in its directory when it has group ownership with ...
0
votes
1answer
105 views

bypassing permission error for a plugin's page

i'm getting "You do not have sufficient permissions to access this page" error when trying to go to a plugin's settings. there's only one user which is the admin and has full access. this is the URL ...
1
vote
0answers
348 views

Grant user rights to access certain tabs of a plugin

I found out a way to grant a user permission to access a single plugin but it has its flaws. Right now there are 6 tabs on the options page of this plugin. The user has access to all these tabs ...
1
vote
2answers
119 views

Hide images from anonymous user?

I'd like to set my WordPress (self-hosted) site up so that you can only view images if you're logged in. I want it to be impossible to view the images without being authorized as a user of the site. ...
0
votes
0answers
171 views

Wordpress asking FTP Details

When i attempt to upload my plugin, WordPress asks for my FTP Credentials. After entering them, WordPress returns the error: Failed to connect to FTP Server ftp.domain.com:21 but my FTP ...
0
votes
2answers
128 views

How to prevent people from seeing certain articles in menus?

I found several plugins that prevent people from seeing certain widgets and posts. However, the posts I restrict still show up in all the places where you can see posts. They show up in search menus ...
0
votes
0answers
35 views

Folder Permissions + Security Concerns

I messed up bad guys. I while working on another part of my website I accidentally nuked my WordPress folder permissions. I was able to find/fix some problems and I got my site up and running but some ...
0
votes
0answers
36 views

Editor have not permissions for a plugin

I use static html output plugin to export pages to html, but only the admin can use this plugin. A editor have not permissions to export a html page. It says: You do not have sufficient permissions ...
0
votes
0answers
104 views

Set role for manage users only under a role

I have to implement membership functionality where a user (company owner) can manage multiple users(employees) under him. I have created two roles in members plugin - Company user - Can add ...
1
vote
0answers
45 views

Securing a multi-user permission structure

I'm currently working on a team that needs two distinct users from the same wpadmin group to be able to modify the wordpress files. Following the guide at Hardening WordPress (Codex), the following ...
0
votes
1answer
76 views

Moved Wordpress Directory - Having access issues now

I uploaded a couple of untouched Wordpress directories to my server and named them wordpress1, wordpress2, wordpress3 and so on. The reason behind is that I have a slow Internet Connection at home and ...
0
votes
3answers
60 views

Permission functions within wordpress

I'm currently developing a website and am exploring all possible options to restrict file viewing. I'm trying to find a way where I can load php files like my theme-options.php and cpt.php without ...
0
votes
1answer
140 views

Which directory should be writable to update wordpress?

I configured file permissions according to here like this. apache user runs server and wordpress user owns directory, this user is only used for this site. drwxr-xr-x 5 wordpress wordpress 4096 ...
1
vote
1answer
104 views

Correct folder permissions?

I just recently installed PHP and wordpress on our coldfusion box and wordpress is throwing me an dialog saying I need to input FTP information so wordpress can alter the files. I read up on this and ...
1
vote
1answer
186 views

Prevent Wordpress installing plugins and themes via Admin

When I initially set up WP, I had entered my FTP details in the Admin so that I could add plugins and themes directly from Admin. However, I believe this compromises the website as I have found ...
0
votes
0answers
266 views

Strange error “You do not have sufficient permissions to access this page”

I've tried for days to figure this out, with countless research hours involved. I've exhausted reviews of other threads on here and on Google with no luck. /wp-admin/update-core.php Currently at ...
0
votes
0answers
16 views

Is it possible to allow a user to only edit categories of posts and nothing else?

I have a site with a lot of articles that aren't categorized. I'd like to hire someone to go through the articles and assign categories to them, then submit them for review and approval. However, if ...
1
vote
0answers
115 views

Editor and contributor roles not correct after adding function

** RESTATED ** I am creating a bridge. The work involves a default installation of WordPress and a plugin to bridge a forum and WordPress. The forum provides all the account information. The ...
1
vote
0answers
42 views

Filtering results for post_type tells me I don't have permission

I have a post type that for some reason I am unable to access. Here is the message I get when I try to access it: You do not have sufficient permissions to access this page. edit.php?post_type=alt ...
1
vote
1answer
308 views

WordPress Permission Problems on Ubuntu 12.04 with LAMP stack

Permissions when associated with WordPress is something that I would never understand. Here are the problems: First problem is uploading. If I start from a fresh Ubuntu 12.04 installation then ...
0
votes
1answer
34 views

Configure Permissions in Mamp [closed]

I recently built a website on Mamp, and upon uploading to my hosting server, I seem to have lost permissions. My guess is that the migration from local to server brought the permissions with it. You ...
0
votes
1answer
128 views

Plugin can't write to database even though permissions appear correct?

I'm using the Formidable Form plugin, and when I try to add a form, the form isn't saved. According to the developer, the user does not have sufficient permissions to write to the database. Here's how ...
0
votes
1answer
264 views

Active Directory and group permissions

I'm trying to modify WordPress to have the following features: Users are created in Active Directory and assigned to groups. Users can login to WordPress via Active Directory. Pages can be locked ...
1
vote
1answer
542 views

Limit a user to have access to only specified pages?

I have several users that I would like to put in user groups. The reason for this is each user group will have access to a specific set of pages or a specific custom post type. I would like to be able ...
0
votes
0answers
49 views

permissions on themes directory

I have a ftp user like owner of all files and directories. When I try to modify any file (e.g. styles.css) with Editor from Admin Panel I see this message: To save the changes, is needed that the ...
0
votes
1answer
176 views

How do I force WP to set upload directory permissions correctly?

I installed a fresh copy of Wordpress 3.7.1 last week and uploaded an image using the media uploader. The image was uploaded alright, I could see it with FTP, but requesting it returned an HTTP error ...
1
vote
0answers
48 views

Lock access to plugin options

While editing a post/page, that item is locked to the current user. How can something similar be accomplished with the settings pages? Take this for example. admin A is changing settings for a ...
0
votes
1answer
111 views

Preventing role reading others posts

I've got a custom post type that I want to allow a specific user role to add posts to, however they must not be able to read posts from others. Here's my custom post type code: ...
0
votes
1answer
275 views

wp_signon gives error insufficient_permissions

This seems odd to me because if you're signing on a user you shouldn't already be signed in... therefore your permissions shouldn't matter. It may be a bit of an odd way of going about it, so that ...
0
votes
0answers
338 views

Malware/Permission bug removal?

I'm facing a hell of a problem on a client's WP theme. Whenever I try to 'Activate' it, it gives me the following errors on a blank page: Warning: ...
0
votes
1answer
129 views

Edit draft from other author

I need that editors in my blog can read and edit drafts from other authors. I've tried some access manager plugins: Advanced Access Manager User Role Editor But none of these helped me. I've also ...
0
votes
0answers
20 views

Permission of uploads folder [duplicate]

My Wordpress site was hacked today. When I investigated, I noticed that there were some malicious files under wp-content/uploads/ folder. I had set the permission of uploads folder to 777 for ...
3
votes
1answer
447 views

WordPress keeps asking for connection information in localhost

I tried to find and answer but even though the problem is common I haven't been able to fix it, WP keeps asking me for the FTP info on my local LAMP environment when trying to install, delete or ...
0
votes
1answer
158 views

Redirect after closing Theme Customizer when user does not have permission for theme page

I'm looking for a way to alter the href target for the "close" button from the theme customizer. Another question/answer came very close, but in my case the solution used which involved ...
3
votes
1answer
74 views

How does WordPress update plugins, without running into permissions issues?

I am developing a plugin for PrestaShop, it works but the issue is with its autoupdate. Sometimes it fails on customers server due to permissions issues. How exactly does WordPress handle plugin ...
1
vote
1answer
335 views

plugin install wants ftp (chown and 755 not enough)

I have root access in ssh to my install (and other wp install working) so im not sure what i missed... installing plugins through the wp-admin interface, it wants me to input ftp. i remember this ...