Names for a set of user capabilities.

learn more… | top users | synonyms (1)

1
vote
1answer
23 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
14 views

How to restrict wordpress front end page according to role?

I have created two custom role in my wordpress website and I want to restrict all pages for all users with my custom role. I want to display only profile page in frond end. Can any one let me know how ...
0
votes
3answers
117 views
+100

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 ...
0
votes
0answers
7 views

allow non-admin to change plugin RFWBS Slider [closed]

I am trying to allow non-admins access to the settings page of the "Responsive Full Width Slider" plugin. https://wordpress.org/plugins/responsive-full-width-background-slider/ this advice seemed not ...
2
votes
1answer
36 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
28 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
14 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
19 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
11 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
39 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
30 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
34 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
38 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
19 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
54 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
17 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
19 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
41 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
26 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 ...
1
vote
0answers
18 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
22 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
29 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
22 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
34 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
18 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
14 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
41 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
139 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
20 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
17 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
19 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
16 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
28 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: ...
0
votes
1answer
32 views

Subscriber role - blank page

I did a fresh install of WP4.2 today, but after playing for a while with setting up a custom user roles I realized that the built-in subscriber role is returning blank page instead of the dashboard. ...
0
votes
0answers
25 views

Best way to assign role to user across entire multisite?

We have a content editor role that allows only editing pages/posts, but this user should be able to edit posts/pages on ANY site in the network. The problem is that these users don't have a role on ...
0
votes
0answers
31 views

Assign user to blog and role on signup (Multisite)

This is the code I have, but I think I may be using the wrong hook, or perhaps it has to do with the whole activation mechanism, but it's not actually doing it. The role picker does show up, but after ...
0
votes
0answers
10 views

Author could only see users created by himself

I am not sure if this is an easy way to see own users in wp admin users list. For example i have multiple users with author role. and i want each author to create a user with a special role ...
1
vote
1answer
44 views

Stop users of author role from editing already pending posts

I want to stop authors from being able to constantly edit posts that are already pending review from editors. To clarify; I already have code in my theme that sets live posts to pending and that ...
0
votes
0answers
40 views

Allow users to change author of post

I want to allow people to ghost-write for other people. This is why I've made a custom taxononomy in my custom post types called Author filled with all the author names. Now I realize it's probably ...
0
votes
0answers
5 views

Created blog but did not visit the site: roles not defined

I am encountering a problem. I am on a multisite setting and I would like to create a blog and then before visiting them want to count how many users with certain roles are included in that site. So, ...
0
votes
0answers
26 views

Limit access to pages based on role

I'm looking for recommendations on how to limit page access by role on the front end. No plugins please, i'm looking for most robust code approach. I'm considering using a page meta field to store ...
0
votes
1answer
26 views

Allow editors access to added plugins

I created a custom plugin which i want Users who are Editors to be able to use the plugin. I found a link here to allow access for editors to allow editors to edit menusallow editors to edit menus? ...
0
votes
1answer
30 views

Manage Roles and Capabilities on Multi-site

I am trying to enable some features for Subscriber user role in a eCommerce theme where originally had be set for Admin role and I like to modify that. I tried AAM plugin but for this specific site ...
0
votes
1answer
35 views

Editor Widget Role

i need to give to editor role the access on widget (or if possibile on a specific widget). I use the code on this question and function but i have a problem. The editor can see the widget and also ...