Names for a set of user capabilities.

learn more… | top users | synonyms (1)

1
vote
1answer
10 views

How to let the Contributor role preview unpublished posts?

Contributors on our wordpress site can't preview posts. I'd like them to be able to preview any post (not just theirs) and this should include custom post types. I can't find a specific capability to ...
1
vote
1answer
22 views

Filter available WooCommerce payment gateways by role [on hold]

I know WooCommerce is not well-received here, because it's not directly related to WordPress, but as support on the WooCommerce forums is just that terrible and people here having proven they're ...
0
votes
1answer
9 views

Add capability to a role , so user is only able to view his own posts

I have created a user role vendor. Right now i am able to give the capabilities to the users, to be able to only edit,delete etc But then the user sees all the posts irrespective of who is the ...
0
votes
1answer
24 views

get approved users only ( ultimate member plugin )

I am using UltimateMember and I have the settings configured that admin must approve registered users first. I now want to display the approved users meta information like faculty, email, etc. in the ...
0
votes
1answer
16 views

Allow Facebook to preview posts before published

I want to allow Facebook (user agent facebookexternalhit) to access scheduled posts before they're published, so it can access meta information in order to schedule a status. Currently I temporarily ...
1
vote
1answer
25 views

How are roles store in the database

I know roles are defined http://codex.wordpress.org/Roles_and_Capabilities but how are they stored in the database? For instance, how is "Super Admin" stored ie. 'super_admin'?
1
vote
1answer
34 views

Change the user role after x days

Is there a way to change back the user role after x days? When people register at my site, they have an 2 options to choose: seller or customer. I want to put an additional user role member1, and if I ...
0
votes
0answers
14 views

Hide All Published Posts from edit.php Paged

I am using AIT directory wordpress theme and customizing it. What i did till now is, created a custom post type similar to that came with theme, Now, all things are working correctly except one ...
0
votes
1answer
18 views

Apache Redirect based on WordPress permissions

On our company website, we have two different types of download permissions: One for legacy, one for current. Is there a way for me to code a redirect through Apache that will query MySQL for the ...
0
votes
0answers
8 views

User roles: edit_post set but custom post type & posts not editable

I have a custom post type with the capability_type of "post". I then have a new user role with the following set: 'read' => true, 'edit_posts' => true, ...
0
votes
1answer
17 views

Control what custom posts a user can see

I've been looking into user roles and it would seem that there are 100 plugins to help me control what a user can edit or publish but they don't get any more specific. We have a custom post type ...
1
vote
1answer
42 views

Execute a function when admin changes the user role

How can I execute a function, when admin changes the user role of a user? I have two user roles: one is agent and the other one is client . My need is that when admin changes the user role of ...
0
votes
0answers
21 views

Wordpress Premium Access

I'm new to PHP and Wordpress. I actually achieved pretty much until now, but now I just cant figure out how to do one thing: Grant registered users access to "Additional Content", I don't know why, ...
1
vote
1answer
33 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
3answers
154 views

Show media-uploads to all users

I want my media-library and all currently uploaded files distributed and available to all users. I am using the User Role Editor Plugin Is there any functions.php hack that makes all media-uploads ...
0
votes
1answer
23 views

Make certain pages uneditable by editors?

My Wordpress page has a few editors. They need this permission because they need to be allowed to change the posts/pages of others. However there two pages I want only me, the administrator to be able ...
2
votes
1answer
45 views

Shold I manually add 'cap' to admin role ?

I've created a role: $role = add_role( 'role', 'role', array('read' => true) ); and so created a cap: $role->add_cap( 'cap' ); after this I'd created a submenu in admin menu with 'cap' as ...
0
votes
0answers
41 views

Problem assigning Custom User Roles to Custom Post Type

I'm having issues assigning custom capabilities for custom post types to custom roles in the WordPress admin. The markup works for one post type but not others. Let me explain a little... I've ...
0
votes
0answers
18 views

customize user roles as site admin in network

I want my site admins to be allowed to edit roles for their site. Enabling the plugin "user role editor" doesn't work. The site admin can't even activate or deactivate the plugin, he can't add roles ...
-1
votes
1answer
25 views

How to allow Contributors to publish articles after approval

I am trying to make a website with similar functionality to tutsplus (its a tutorial website where anyone can post a tutorial). I thought it would be best to use WordPress and set the default role to ...
0
votes
0answers
20 views

Adapt capabilities to specific users “IF”

I have a very specific issue with my Wordpress website. I use custom fields to assign some users to "group managers" and would like to prevent other "group managers" to change this custom field. ...
0
votes
0answers
4 views

Permissions links manager wordpress

I want to let the "Subscriber" users to add\edit\delete links but I don't want that the user could delete other user's links. I know the "manage_links" capability but I can's "split" this to ...
1
vote
0answers
14 views

Where are $current_user->allcaps set?

I recently found a problem with WP in which even the admin has no permission to get to anything on /wp-admin/. Oddly enough, when I compared the $current_user->allcaps to those on a normal site, I ...
0
votes
1answer
52 views

Custom Post Type only display items created by user

I've used the following tutorial to register a new post type and restrict a custom role to that post type: ...
0
votes
1answer
42 views

Remove admin AND editor from the “change role to” menu in user listing

I have a snippet in my functions.php that removes the admin role from the "change role to" drop down menu in the users listing screen, so that editors who can list users and manage roles won't be ...
0
votes
0answers
46 views

Welcome email specific to user role

I would like to send an additional welcome email to a specific user role, 'freelancer'. WP would still send its standard welcome email, with login and password, to all user roles. I found the ...
0
votes
1answer
56 views

Buddypress - how to display user role on profile page?

Hi: n00b with Buddypress, and not very experienced w/PHP hacks either. I have a staging site where the user is prompted to choose a role (Musician or Venue) during registration. This goes well, but ...
0
votes
1answer
24 views

How to get a users list by who created them?

I have two users with the capability to create other users. But their roles are not same. Tom - Role is Administrator Jackie - Role is CMS Manger (a custom created role) Both have capability ...
5
votes
1answer
79 views

How to allow an user role to create a new user under a role which lower than his level only?

I have three extra roles in my site. Doctor Receptionist Guest those roles are added by following code: * adding Doctor role */ $doctor_role = add_role( 'Doctor', __('Doctor'), array( ...
0
votes
0answers
24 views

How to disable the customizer?

I don't want anyone with the role below 'editor' from using the customizer. I still want them to be able to edit/change widgets and the menu. How can I do this please? My code so far, but it stops ...
0
votes
1answer
24 views

used code below to allow Editor access to menus - but change permanent, how do I revert?

I have tried the code below to allow Editors to access menu settings. I then removed it from functions.php but the Editor access is still there so looks like this has made a permanent change! Ayy ...
0
votes
0answers
56 views

Add role privileges of the custom post type

I wonder if it is possible when adding a new role add_role() I can assign to it a privileges to add, edit, delete posts of a custom type. To be specific. I want to add a role 'volunteer coordinator' ...
0
votes
1answer
42 views

after login that will redirect user role into a page

I am trying to create a hook that when a user login, it check the user role.. if the user role is jsa_contributor then it redirect into specific page. but it seems my code didn't work. This is the ...
2
votes
0answers
27 views

How to make an author archive only for certain user role and show related CPT

Scenario I made a CPT where I'm taking the stakeholder's ID as a custom field. All the stakeholders are actually a WordPress' Registered User with a different role stakeholders - because at some ...
0
votes
1answer
25 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 ...
2
votes
1answer
35 views

Let new user role to 'edit_others_posts' of other user role, not of its own type

In my system, I'm making two new roles: Third Party (TP) (lesser privileges) Data Entry Operator (DEO) (powerful over Third Party - but not of its own group) My CPT 'capabilities' parameter is ...
0
votes
1answer
25 views

Restrict access to a post once it is tagged as a given status

I am trying to make any post that has been tagged and saved with a certain status non-editable by editor users. I am using a custom plugin that extends the status' to include subbing, however, at ...
0
votes
0answers
21 views

Custom role with add post and event capabilities

I'd like to create a custom role for an author on a site that we made. I can create one with only the add/edit/delete posts capabilities but I can't figure out how to give him the add/edit/delete ...
0
votes
1answer
43 views

Prevent author role from editing all posts in custom post type?

I thought the Author role was only allowed to edit posts created by that author. That works in Posts and Pages, but I created a custom post type and the author can edit ALL posts in that post type. Do ...
0
votes
0answers
27 views

Disappearing menu items in dashboard once the CPT post get published by Admin

I have created a custom post type, say, 'Challenge'. I have also created some new user roles, on of the user role is 'evaluator', this role has capabilities some what like default 'Contributor'. The ...
0
votes
0answers
18 views

Select Subscriber As Post Author In CPT, Admin Panel

I have a custom post type, jobs. I would like in that CPT to be able to select subscribers as post authors. I found this post, which does the trick for all post types, but I would like to restrict ...
2
votes
0answers
47 views

Allowing custom role access to custom post type in back end

So I'm having some issues with this and I can't see why. I just need a custom role that can access the blog in the back end. I've added a new post type with a Capability type of blog and a new user ...
-1
votes
1answer
293 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
10 views

Synchronising Multisite Roles

I am trying to set up roles synced between a multisite master site and a sub site. I read the info here How to sync roles across Multisite?, but am not 100% clear on how to implement this. In my use ...
0
votes
0answers
23 views

Role capability delete multiple post type posts doesn't work

I am making a new role called "sales" where I add capabilities to, so the sales people only can read, edit and delete leads in the admin panel. Everything works fine, except that I cannot select ...
0
votes
0answers
7 views

How can I let one user update another users posts and metas?

I found out that I can simply assign an editor role to users by simply doing the following $u = new WP_User( 3 ); $u->add_role( 'editor' ); But in this case the user gains edit access to ...
0
votes
0answers
30 views

How to Restrict publish post capability of Editor role for a Custom Post Type?

In a project, I have a Custom Post type, In this post type, every one can add Posts, From Contributor to Admin, But All the posts apart from Admin, should not be published. All other Posts including ...
0
votes
1answer
26 views

Stop contributors from editing standard posts but allow them to edit a custom post type

I need to stop any site user who is a 'contributor' from editing the standard posts, but I want them to be able to edit a custom post type called courses. Here is my code that I have so far, it is not ...
0
votes
0answers
24 views

Change roles automatically after X time

We are developing a site that have three roles: Trial Paid No Paid All users that join to our site have a trial role by default, but we want to change it automatically to No Paid after 15 days. ...
2
votes
1answer
37 views

How to stop contributors editing post type but allowing them to edit a custom post type?

I need to stop 'contributors' from editing the standard post type, but I want to allow them to edit a custom post type. My code so far: remove_cap( 'contributor', 'edit_posts' ); Thanks! UPDATE: ...