for questions regarding permissions of different user groups in wordpress

learn more… | top users | synonyms

0
votes
1answer
208 views

How to add only a (sub) capacity to an user role?

I know I can add capabilities to the any role using the role object and add_cap via functions.php <?php // get the the role object $editor = get_role('editor'); // add $cap capability to ...
1
vote
2answers
264 views

can't change footer

I've looked at all the help for changing footers but I still have the same problem - I go to appearance, editor, footer.php, change the telephone number that had been previously entered, hit update, ...
0
votes
2answers
552 views

Permission of 775 not enough

I have my theme files at permission of 775, but still the theme editor in the admin says there's no permission. only when i change the permission to 777 it lets me edit. Why is that? Thank you.
4
votes
3answers
141 views

How to let authors revise other authors drafts, but keep them from publishing?

I want to give all authors permission to edit other authors drafts, but not publish them. It seems like the only way to give authors access to drafts by other authors is to grant them ...
0
votes
1answer
191 views

can i run wp as root permissions

Im not sure if this question is about server, git or wordpress. i have wordpress set up on ubuntu VPS in /home/user its working now when all chown and group is "user". however, when i git pull (as ...
0
votes
1answer
825 views

Remove Posts Quick Edit link for specific user role? WP 3.3

I am using Wordpress 3.3.2 with the following plugin: - http://wordpress.org/extend/plugins/advanced-access-manager/ The plugin works perfectly but the author said there is currently no way to ...
8
votes
8answers
12k views

Is there a way (plugin?) to restrict a user to being able to edit just one page?

We use wordpress like a CMS and would very much like to allow users to have a "homepage". Ideally they'd be prevented from mucking up the whole site. Is there a simple way to limit users editing ...
2
votes
1answer
1k views

Prevent or Disable creating new users or changing roles of existing users to Administrator

I am trying to give more permissions to the editor role by giving it access to create user accounts. See the code below. But I would like to prevent it from creating or editing existing users with the ...
0
votes
1answer
87 views

Basic File/Post restriction plugin

I am looking for a plugin that allows me to restrict access for a individual post/page to a specific role or individual. It also needs to restrict files attached to that post. I have tried several ...
0
votes
1answer
373 views

Allow an editor to change the author

I am using wordpress multi user and have a set of users set up as Editors who wish to ghost write for another user who is an author. How can they change who the author of the posts is without the ...
0
votes
1answer
2k views

Auto-Update Fails

I'm installing my first WP site for a client and I either pulled a recent, but not entirely up to date version or there was a very recent update. I'm being prompted to upgrade, which is fine, but it ...
0
votes
1answer
394 views

Fix permission error for deleting custom post from front-end?

I need both Admin and Editor role users to be able to delete a custom post type from the front-end. I found the code to create a post delete link, but whenever either role tries to delete there is an ...
0
votes
1answer
948 views

Changes to .htaccess not updating the file (old rules still take effect)

I was running a Wordpress site using pretty permalinks, and everything was dandy - the .htaccess file was behaving, and url rewriting was working. This weekend, I decided to convert the site into a ...
1
vote
2answers
4k views

How to configure apache to create files with correct group owner [closed]

I've got WP site on a self-hosted server. Any files I create are owned by me/me and any files created by WP are owned by apache/apache. I've created a group, wp, that both me and apache are members of ...
1
vote
1answer
292 views

Custom post type: check permissions and validate nonce

I have a custom post type with the following capabilities: $capabilities = array( 'read_post' => 'administrator', 'read_private_posts' => 'administrator', 'publish_posts' => ...
0
votes
1answer
174 views

Wp-Admin FTPS Connection Error unlike Filezilla

My wordpress website is just moved FTP to FTPS protocol. When I tried to make a connection with FileZilla, the connection is successful. There is nothing wrong with my FTPS connection. Status: ...
0
votes
1answer
122 views

Wordpress - Public side and Private side

I'm wanting to setup a Wordpress site which has posts for public view and some which are only seen by people that are logged in (authors etc). I dont want the public people to see "Restricted Content" ...
0
votes
2answers
630 views

How to hide plugin options for editors via functions.php

I've read the entry Best Collection of Code for your functions.php file, it really help me a lot. I only got a question, is there a way to hide some plugins options (in their respective ...
4
votes
1answer
2k views

add_menu_page permissions - what am I doing wrong?

I am running a fresh install of Wordpress 3.3.2 and the only plugin enabled is one I'm developing, but I can't seem to get past a permissions issue in add_menu_page. With the exception of using ...
5
votes
6answers
15k views

Can't upload images due to permissions error

For some reason when I try to upload an image to my blog I get an error message saying that WP can't create a folder under the relevant directory (wp-content/uploads/2010/09) and it's asking if the ...
0
votes
2answers
84 views

Problem with admin login after deployment

I made a site for a friend and everything worked so far on my development box that we can start final deployment and testing so I decided to put it on the hosting. So I done the standard procedure ...
0
votes
1answer
465 views

insufficient permissions; coding an action for plugin governed by custom capability

I'm working on a modification to WP Super Cache which adds two new capabilities to give more control of restriction to certain features. My goal is to a) allow Editors to see the Delete Cache button ...
0
votes
2answers
2k views

Page only shows when user is logged in (even with visibility set to public)

I'm trying to troubleshoot an issue on a client's site. There is one specific page which appears as "not found" unless you log in and then visit the front end, in which case it appears normally. The ...
0
votes
1answer
753 views

remove menus for a specific role?

I saw this snippet to remove menus: function remove_menus () { global $menu; $restricted = array(__('Dashboard'), __('Posts'), __('Media'), __('Links'), __('Pages'), __('Appearance'), ...
0
votes
1answer
262 views

WordPress missing user roles on local dev machine. Live site works fine

I have a live WordPress installation and a local one for development purposes. I just exported the live database, replaced all occurences of the live siteurl with the local one, and imported on my dev ...
0
votes
1answer
1k views

Add menu page issues (permissions & position)

OK, I have an issue with Sidebar Generator Plugin. This plugin creates subpage called "Sidebars" in WP-Admin. The point is, it is created as a child of "Appearance" page. And I don't want it here, I ...
0
votes
1answer
930 views

How to write to the plugin's directory?

My plugin needs to create some directories for its use when it's executed. On many hosts (those using suPHP for example) there is no problem and everything works fine. But on other hosts, PHP does ...
0
votes
1answer
3k views

wp-content Folder Permissions (777 OK?)

I seem to be having issues with folder (and maybe file) permissions getting changed possibly by an FTP client. The WordPress install is using https. It started primarily with permissions in the ...
1
vote
2answers
66 views

What permissions should I give directories if I want to make WordPress more secure?

A follow up to a previous question found here How can I lock down an old wordpress install I don't intend to update? Same info still stands. WordPress install will (probably) not be updated. ...
2
votes
1answer
7k views

How can I limit WordPress editor roles to a specific category?

We're trying to use WordPress as a light CMS system and we need to be able to section off parts of WordPress so that editors for one product aren't able to edit other products. Seems like out of the ...
0
votes
2answers
117 views

Hiding custom theme functionality using capabilities

have spent half an hour hunting around on Google to solve this so any ideas greatly appreciated! I'm using a bought theme running wp3.2 and the theme includes a few extra features Testimonials, ...
0
votes
2answers
285 views

On new server, site got hacked, permissions a bit strange? Please help

I moved to a new server recently, a week later a site got hacked, all they did was change the index.php file of the current enabled theme, no big deal. I did have a few security precautions in place, ...
0
votes
1answer
66 views

the_tags only showing when logged in?

I'm trying to figure out why the_tags(); when used in the loop are only showing when I'm logged in to the site. I've never come across an issue like this before when developing themes. my code is ...
1
vote
1answer
2k views

Plugins won't auto-update on IIS

Using IIS 6 on XP Server '03, using WP 3.2.1, when I attempt to use the auto-update for my plugins, I receive this message: The update process is starting. This process may take a while on some ...
0
votes
1answer
154 views

Configuring WordPress permissions for easy updates

I've been tasked with configuring a LAMP stack on a dedicated server to run multiple WordPress sites. Each site is attached to it's own SSH account. I'm having trouble setting permissions that'll ...
-1
votes
1answer
564 views

Cannot upload themes. Error: “The uploaded file could not be moved to /var/www/wp-uploads/localhost/2011/10.”

The uploaded file could not be moved to /var/www/wp-uploads/localhost/2011/10. That's the error message I get when I try to upload a wordpress theme. This is my current permission status of my ...
1
vote
2answers
579 views

Moved my Wordpress site and now it can't read the theme

I moved my Wordpress website on Friday (so DNS propagation should be long finished) and now the site has no theme. I spent time yesterday re-installing the theme and Wordpress but to no avail. It ...
0
votes
2answers
2k views

Standard permissions for wordpress; Plugin installation asks for FTP credentials

I'm on a server that does not have FTP installed and will not have FTP installed. I have another website that I've been able to install plugins in before, including the one I'm trying to install now ...
0
votes
1answer
5k views

Failed to Open Stream: Permission Denied While Writing to an XML File in a WordPress Plugin

I'm trying to write to an XML file in a WordPress Plugin. I'm on my local machine, a Mac running MAMP. I have PHP 5.2.13 My code is: $file_handle = fopen('markers.xml', 'w'); $stringdata = "Test ...
0
votes
1answer
429 views

Making plugin to use different table prefix cause permission problem

I have multiple wordpress websites that uses the same files and database but with different table prefixes, I use a plugin "Shortcode Exec PHP" and I would like to use the same shortcodes on all the ...
1
vote
3answers
479 views

WordPress folder ownership issues

Hi I set up wordpress on a VPS and I'm running into two problems: Either WordPress asks for ftp details in order to update plugins or delete them or Through FTP I cannot delete files as I get a ...
1
vote
3answers
576 views

You do not have sufficient permissions to access this page

After long time am here,I have one question. I Installed my wordpress in localhost and i moved to live,while i forgot the admin password,so i reset it by phpmyadmin(using md5).now i try to login by ...
5
votes
1answer
4k views

How do I get the right permissions for WordPress running Apache on Debian

I'm trying to set up a WordPress site on a LAMP stack on Debian 6.0. From the WordPress documentation (and my experience on shared hosts) the correct permissions should be as follows All files ...
0
votes
1answer
1k views

Allow Author role to publish one post type and not another

I have two custom post types. One of them, I would like the author role to be able to publish. The other one, I would like for them to "Submit for Review". Any suggestions?
0
votes
2answers
936 views

Warning : tempnam() [<a href='function.tempnam'>function.tempnam</a>]: SAFE MODE Restriction in effect

When generating PDF with dompdf I am having this problem in pdf file when viewing file in notepad Warning : tempnam() [function.tempnam]: SAFE MODE Restriction in effect. The script whose ...
1
vote
3answers
232 views

How do I apply a class to custom menu items based on user roles

I have a members section on my site and they see specific custom menu items. I'm seeking a way to simply apply a star to the <li> based on it's permission level and what the user's role is. ...
0
votes
2answers
373 views

What are the correct permissions so WP doesn't ask for FTP credentials if installing plugin?

My nginx user is www-data. If I do su www-data I can create both file and directory. But when installing plugin I am asked for FTP credentials. I tried to give the public_html directory 777 ...
1
vote
1answer
3k views

permissions access error

I'm getting this when saving a post after editing: Forbidden You don't have permission to access /wp-admin/post.php on this server. Additionally, a 404 Not Found error was encountered while trying ...
0
votes
2answers
7k views

Failed media import

I sat up MAMP on my mac and installed wordpress 3.1. Then, I exported my wordpress.com ina tried to import to my local wordpress.... I ticked import media option and I was hoping that I will get all ...
-1
votes
1answer
60 views

Plugins Page - “Page disabled by the administrator”

I've encountered an issue on a site I'm looking after. The 'admin' account no longer has access to the plugins page, if I try and manually type in the URL to the page, I get the following error: ...