Names for a set of user capabilities.

learn more… | top users | synonyms (1)

0
votes
0answers
8 views

Assign specific user type to specific plugin

I was wondering if there is a way (or even a plugin) to assign a specific user role to a certain plugin. Thanks.
1
vote
0answers
20 views

How to restrict access to specific pages on the back-end?

Before anything... I understand how roles and capabilities work. And there are tons of plugins that help you manage those. Roles and capabilities can only be so specific though. Is there "wordpress ...
0
votes
0answers
17 views

Adding role according to specific logged in user

Execuse me guys,i'm trying to manage roles according to logged in users, if logged in user is author so he can add users with roles of contributor or subscriber. i've tried using 'wp_dropdown_roles' ...
5
votes
2answers
7k views

Send user activation email when programmatically creating user

I wondered if someone here might be able to help. Basically, I've created a custom registration form that when validated, inserts a user to the user table. function _new_user($data) { // ...
0
votes
1answer
16 views

Allow non-admin users to access plug-in

I want users who are not Administrator to be able to use my Calendar plugin, but it is not available on the dashboard except to Administrator.
0
votes
0answers
10 views

Add user role to new user admin notification email

I'm working on a plugin to try and add the user role to the new user admin notification. Just need someone to review the code and see if my approach looks right. It's pretty much the stock code from ...
0
votes
1answer
369 views

Custom Roll/Custom Post Type - Can't Select Categories

I am using Justin Tadlock's Members plugin 0.2.4. I have a custom user role "Author" that I am granting permission to post a Custom Post Type "blogpost". The Author can post and edit the CPT blogpost ...
0
votes
2answers
23 views

Query for user roles

How do I query for a specific user role? if (is_user_logged_in() && user_role == "user") {} The part I'm unsure about is user_role. Is there a way I can ask WordPress to check for a ...
0
votes
0answers
10 views

Wordpress User Management Departmental Managers

In wordpress is it possible to departmentalise user accounts and then have a departmental manager oversea those accounts in same department but not other departments?
0
votes
1answer
19 views

Let editors view post in admin but not be able to perform a save/edit

In a current project I need to be able to restrict access to posts by comparing the post's language against the languages a user has access to. This, I'm certain I can achieve. However, even if a ...
0
votes
2answers
33 views

Why current_user_can('edit_comment') always true?

I am always getting TRUE for current_user_can('edit_comment'); on two different installations of WordPress (4.2.2 and 4.2.4) no matter what role the user is. Even when the user is logged out. I ...
0
votes
1answer
20 views

Why does get_posts only show results for Admins or logged-out users?

I use a get_posts() call with these arguments: array(6) { ["include"]=> string(14) "1633,1634,1635" ["post_status"]=> string(3) "any" ["post_type"]=> string(10) "attachment" ...
0
votes
0answers
16 views

Restrict wordpress editors to edit posts from specific contributors

I have 6 contributors (writer) for my site, contributors can create new posts but they can not publish the posts, they can only save drafts. I have 3 editor which they have to examine the content of ...
11
votes
4answers
8k views

Is there way to rename user role name without plugin?

Is there anyway to rename a user role name via hook, instead of using plugin? Edit For example, administrator » owner
2
votes
1answer
82 views

Query users by custom taxonomy and user role

I'm trying to make a query for users using WP_User_Query() I need to filter users by role shop_manager and custom taxonomy called shop-category and current taxonomy term ID. The code I have so far: ...
0
votes
1answer
21 views

remove wp admin menu by customer user role

I have a custom user that i'm trying to minimize access for. I have a few admin menus in the toolbar that I'd like removed but only for this customer user role. I currently have it working for ...
0
votes
1answer
20 views

Defined user role to access plugin's pages

I Have two plugin installed Job Manager and Events and i want to defined User roles to access These plugin's created pages (Plugin Pages).
1
vote
1answer
36 views

How to test for Super Admin

I have the following code in my mu-plugins.php file and the is_super_admin() function does not correctly result in true. I am running v4.2.4 function check_for_superAdmin() { if ( ...
0
votes
1answer
33 views

Show posts by author of membership level (Paid Membership Pro)

I am currently listing posts based on user role, with the following query: $ids = get_users( array('role' => 'author' ,'fields' => 'ID') ); $args = array( 'author' => implode(',', ...
0
votes
3answers
491 views

WordPress Multisite and S2Member - How to add new users to all blogs?

We have WordPress setup to run as Multisite and are using the S2Member plugin. We are also using a modified version of the 'Multisite User Management' plugin. The Multisite User Management has a ...
0
votes
2answers
22 views

Switch-Case and user_role

I am trying to create a page that shows all users with a selection of details. One of those details is the user role it has. For each role I want to display a different string. In order to achieve ...
2
votes
1answer
42 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
872 views

Plugin permissions for Editor role

I've added a plugin called Orbisius Simple Notice but I notice this applied to several plugins I have installed. The plugin works fine when logged in as an Admin. However, my clients who manage the ...
2
votes
1answer
952 views

How to remove “Super Admin” from All Users for those that are not a “Super Admin”?

I would like to remove the filter at the top that says "Super Admin" for users that are not a "Super Admin". How do I go about doing this? This screenshot shows what I am talking about:
0
votes
3answers
628 views

Restrict custom post type view by user role

I've created a custom post type and created a couple of custom user roles and want to be able to restrict the view of the post type based on the specific roles. Is there a straightforward way to ...
0
votes
3answers
564 views

Capability to edit own posts and not others

What is the capability that let users to edit their own posts and not others? I am trying to enable the post authors to avail a plugin function only on the posts they own. The permission to access ...
0
votes
2answers
582 views

I need to assign a role to visitors/guests

Is there a way to create a 'role' in WordPress for a guest? I am using a role visibility plugin which lets me choose the type of visibility to each role. However a Guest hasn't got a role. I can ...
0
votes
3answers
1k views

Allow a user to edit their own page and profile only

I am creating a WP site that has a list of members, where each member (about 20) has their own page. Each member page is created by an admin, but now i am stuck. I would like the content of each ...
1
vote
1answer
17 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
44 views

Filter available WooCommerce payment gateways by role [closed]

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
18 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
58 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
21 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 ...
0
votes
2answers
2k views

Create a User Role with permissions to only upload files to the media library?

Some of the employees at my organization need to be able to upload files to a folder and share a link with others. It’s primarily documents like pictures, pdf’s and Word documents. And instead of ...
2
votes
1answer
334 views

similar to Editor can create any new user except administrator

I have set up a WP multi-site with custom roles. One of the roles can add users. I need a solution to only show two roles available to the limited role on add user and leave all user types available ...
1
vote
1answer
26 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
42 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
1answer
20 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
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 ...
0
votes
0answers
21 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
0answers
11 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, ...
4
votes
2answers
2k views

Only allow administrators and editors to access wp-admin

I am trying to restrict access to wp-admin so that only administrators and editors are allowed. At the moment I am using this function: function restrict_admin(){ //if not administrator, kill ...
1
vote
1answer
49 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
3answers
2k views

Remove ability to access certain admin menus

I am trying to remove some of the admin features for a user with the role of contributor. What i mean by remove some of the admin features is disable them from seeing certain admin menu items, such as ...
0
votes
0answers
24 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
36 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
164 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
243 views

add user role selection to registration form

I need to add a select box or something like that into registration form in order to let my users to select custom roles I have defined.
-1
votes
1answer
463 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
1answer
53 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 ...