Names for a set of user capabilities.

learn more… | top users | synonyms (1)

0
votes
0answers
8 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
14 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 ...
3
votes
1answer
37 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
11 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
12 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
27 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
13 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
14 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
15 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
13 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
16 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
18 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
23 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
10 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
12 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
35 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
45 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
16 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
5 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
14 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
15 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
12 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
26 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
25 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
19 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
23 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
8 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
33 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
28 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
11 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
18 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
27 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
19 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 ...
0
votes
1answer
29 views

Is there a way to set the user Role based on email domain

For example if a user registered with the email domain: example@gmail.com They will be set as a contributer. but if any other email such as example@hotmail.com they will be set as a subscriber? ...
0
votes
0answers
14 views

Change user's capabilities at runtime

I've been tasked with limiting who can moderate comments based on a custom defined user field. We basically have a two tier "roles" system, one being the standard WordPress roles, the second being a a ...
0
votes
0answers
8 views

Admin user with just “read” permissions

How can I have a user level who can see everything a normal admin sees, but who can't edit anything? Basically a read only admin. To let a client have a look at the control panel but without letting ...
0
votes
2answers
40 views

Wordpress multisite, allow non super admins to create sites

I'm creating a wordpress multisite for at costumer to uses with his own customers. He need to be able to create a site when he get a new customer, and his customer should be able to control the the ...
0
votes
0answers
31 views

How to Reset Upload Count of User as Admin AND User?

In direct connection to - Set a maximum upload count for users on a specific user role The user, gmazzap, answered the question above by using the following PHP code: add_filter( ...
0
votes
1answer
43 views

Admin Post List Only Show One Category

I want a user to only be able to view a single category type when clicking "posts" in admin. I've tried messing with list_terms_exclusions, but that only seems to be effecting the category management ...
0
votes
1answer
19 views

Disallow “contributors” to edit their own posts once they've been set to “Pending Review”

My question is exactly what is in the title: how can I disallow "contributors" to edit their own posts once they've been set to "Pending Review"? I can't seem to find any documentation on how to do ...
0
votes
0answers
48 views

Restrict Editing by Category

I've tried every possible user role plugin for this, but each of them no longer work with the latest edition of Wordpress (Role Scraper, Restrict Categories, Advanced Access Manager, etc). If a plugin ...
0
votes
0answers
51 views

Allow Contributors to View/Edit Other Contributors' Pending Posts

I'm using the User Role Editor plugin to modify my user group permissions, but it doesn't quite have everything I need. Does anyone know a way to restrict contributors from viewing/editing any posts ...
0
votes
0answers
15 views

wp_dropdown_roles in a page

I have a question, I have been trying to create a page in which the admin can change the roles of a user from a dropdown menu. Just like we do in the user settings in dashboard. I have been trying the ...
0
votes
1answer
22 views

Different email notifications (about pending posts) to different users

I looking for something like this: I have two (or more) groups of users. Each group is responsible to different person. So e.g. if someone from group A send draft, person responsible to group A get ...
1
vote
1answer
38 views

Toggle User Roles with button

I don't know if this is possible, but I've got two user roles: Hero and Legend. When people subscribe to my website, they're assigned the Hero user role. I would like to be able to toggle users to ...
0
votes
0answers
45 views

Translate in wp-login.php page

I'm trying to add a form for the user to register, to choose a role that can edit pages. The code I used is as follows: <?php function my_register_form() { global $wp_roles; ?> <p> ...
0
votes
1answer
68 views

How to sync user database with “user role editor” plugin enabled

I already know how to sync user database for multiple wp installations from this answer. I don't know how to sync user database with custom user roles. Thanks in Advance! :)
1
vote
1answer
52 views

Disable posts, only allow to edit existing pages, not create new ones (create_posts)

I am trying to limit a user role to only be able to edit existing pages, but not create new ones or do anything else like anything with posts. I have read this: Is there an existing capability to ...