The tag has no usage guidance.

learn more… | top users | synonyms

2
votes
2answers
112 views

Unify the roles and caps?

I installed several plugins(buddypress-docs,achievement,bbpress), each one create capabilities for their own post_type. I would prefer to make all roles and capabilities unified into one system, Is ...
1
vote
2answers
40 views

Custom Role with Own Page Edit Capability

I need to create a custom role that is only able to edit and publish his own page (page created by admin and afterwards assigned to the user with the custom role). I have successfully created the new ...
0
votes
2answers
197 views

How to show a gloabl message on a user profile page (in back end)?

I want to show a global message for all users in their profile page. I do not want to edit profile.php what is the hook to do this? Basically I want to add a div to show a paragraph below the ...
0
votes
1answer
25 views

Allow BBPress participant role to trash topics

I have a small project with BBPress roles, here is what needs to happen if at all possible. Participant Role Participants should be able to trash posts. Participants should be able to restore ...
0
votes
1answer
24 views

What is more secure checking capabilities of user or checking role of user in WordPress plugin development

Suppose I need to check the logged in user is subscriber not anyone else. So if I check the capability like "read". Then subscriber is OK but "read" capability is also associated to admin/publisher as ...
0
votes
1answer
46 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).
0
votes
1answer
16 views

Weird capabilities / roles behavior

I've been playing with the custom post types capabilities and some behaviors remains really mysticals for me. The Setup Say you have a Custom Post Type (CPT) called show for defining a radio ...
0
votes
1answer
88 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
37 views

Custom Role accessing the wp-option table

I'm using a plugin that create an additional record in the wp-option. Everything is great with the admin account, the record can be save and update. But I'm stuck with allowing one of the custom role ...
0
votes
1answer
92 views

Prevent author role from editing others posts

I have created a custom post type "Extension" and a role "Extension Author". A user in this role should only be able to edit his/her own extensions. As it is now the user can click "edit extension" ...
0
votes
1answer
106 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

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
1answer
222 views

Restrict access to options-*.php pages

I have a custom role named manager with manage_options and read capabilities , i want to restrict him not to access Settings menu, you may say remove manage_options capability but that's not the case ...
0
votes
1answer
18 views

creating different edit screens for different roles

I have created a custom post type and custom role, created the proper capabilities and assigned them so the new role and see and edit their own ctp's entries... but I'd like to create a customized ...
0
votes
1answer
233 views

How to publish custom post type for custom role user and not “submit for review”?

I've created a custom post type 'openproject', where i set capabilities. function custom_post_openproject() { $labels = array( 'name' => 'openproject', 'add_new' => 'Add new ...
0
votes
1answer
241 views

Custom post type media upload error with custom user role

I have created a custom post type named product and assigned a new role manager for it. Everythign works fine, except the media uploader for product. I can even upload images without any error ...
0
votes
1answer
42 views

Limit roles displayed in users.php depending on custom role

I have setup my WordPress installation with a custom role called 'regional_manager' I have given this role the capability to add_users and managed to create a custom snippet for my functions.php file ...
0
votes
1answer
407 views

Permission to change post Author

I am trying to create a "limited admin" but I cannot manage to give this user rights to change the author of posts. The regular administrator can see the dropdown option to change author from both ...
0
votes
1answer
34 views

Is there a way for a limited user to just view the page of a post without being able to edit it?

I have multiple types of users using WordPress. One type is contributor. Right now they can't publish a post, it as to be the Admin or Editor. The problem I have is after the article is publish the ...
0
votes
1answer
89 views

Is there a way of retrieving the core WP capabilities?

I've created a plugin that adds new capabilities & assigns them to both WP & core WP roles. I would like to remove these capabilities when the plugin is deactivated, but I need to check that ...
0
votes
1answer
365 views

Custom role, capabilities, and post type: preview button wrecks things

I'm using the Members plugin to manage capabilities of a custom role that will only be able to edit/publish a custom post type that I created in my functions.php file. After much work, I got this ...
0
votes
1answer
103 views

What capability is required to view posts, scheduled in the future, by someone else?

So, I'm trying to create a number of custom roles within my theme to meet with the custom requirements of the site. The first, and most simple, being 'external viewer' who I want to simply be able to ...
0
votes
1answer
56 views

Best Roles and Capability on a site with review features using a front end custom post

I'm working on a Movie Blog site, I'll be having a movie review for site members and planning to create/install plugin that can create a front-end post/edit using a custom post type for that reviews. ...
1
vote
0answers
19 views

Allow role to edit users at lower level with only specific metadata

How to allow a custom role, company-administrator, to be able to edit/create/delete users lower than their level, subscriber, where some metadata is matched? To elaborate: I'm making a membership ...
1
vote
0answers
22 views

Allow users to set a post author

I have a website owned by myself that allows people to submit work for us to publish. I have a team of staff who need to create posts..etc I have assigned users the author role which allows them to ...
1
vote
0answers
44 views

Allow user to only access custom post type

I am starting to get comfortable with Custom Post Types, but I don´t get the capabilities for them right. I have something like this: // define capabilities... $capabilities_werden = array( ...
1
vote
0answers
41 views

Custom Field to a Role?

Is it possible to add custom field to a custom role? Say I want to create roles that represent a membership level and want to add billing options to it. So it'd look like this: Membership level ...
1
vote
0answers
93 views

Add custom role across network in multisite

Maybe this is a duplicate of Add role across network in multisite, but the answers there are not conclusive so I'm asking again. Any help would be deeply appreciated. I'm trying to add two new ...
1
vote
0answers
67 views

Purpose of Adding Capability to Role But Not Grant?

I am attempting to create a custom role upon activation of my plugin. Along with that role, I wanted to add new capability to that role to access later. Now, after reading the Codex, I am totally ...
1
vote
0answers
101 views

Filter Menu Items by Custom User Role in a page

I want to create a page template where the contents of the menu is filtered. Say, on Template 1, I want only the pages/post created by a custom access role areamanager1 to be displayed on the Menu on ...
0
votes
0answers
51 views

Post_name is missing after wp_update_post

I have a problem with my CPT. Registered a partner post type and I want the partner to be able to edit it if the post is draft or pending. I can edit the whole post instead post_name. Post name will ...
0
votes
0answers
29 views

Custom role cannot upload media in new custom post page

Sorry if this question is duplicated. It seems to be similar to this question (Custom post type media upload error with custom user role) but I couldn't make it work. I have a custom role called ...
0
votes
0answers
39 views

Change the user role based on login or theme switch

I'm developing a CMS system based on a multisite installation. I need to be able to do the following: Whenever a user logs into his site, he will immediately be forced into "Contributor" role. I ...
0
votes
0answers
35 views

Send in for review instead of publishing posts

I'm using a script to add multiple editors to a specific post (custom post type), so when they login, they only can edit the posts they are linked to. The problem is, when a user edits a posts, he can ...
0
votes
0answers
13 views

Prevent multiple roles

I have the following code which updates a user's role according to his/her Paid Membership Pro subscription: //assign role function my_pmpro_after_change_membership_level($level_id, $user_id) { ...
0
votes
0answers
29 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
14 views

Practical limit on number of roles

I'm building a wordpress site that uses buddy press and a BP extension called BP Activity Privacy (BPAP). What the BPAP plugin does, is allows the user to set privacy settings for posts to the ...
0
votes
0answers
132 views

Search results show only content by admin post authors

In my current wordpress project there is an issue with search results. The project includes users of a custom role competitor who are able to upload images in the media library. Since ...
0
votes
0answers
1k views

Add Media Upload Capabilities Needed for Custom Role for non-Posts

I finally managed to update an old WP 3.3.1 site to WP 4.1 with few issues, but one unexpected change seems to have come about with relation to file uploads. In the WP 3.3.1 version of the plugin, I ...
0
votes
0answers
84 views

Adding post tags without capability edit_posts

I have a custom role called Event Contributor whose capabilities are limited to the post type "events". The role does not have the capability "edit_posts". The post type "events" has custom ...
0
votes
0answers
263 views

Assign Role and capablitis on frontend registration

I have created 2 custom roles "customer" & "employee" form admin "members" plugin. I am trying to assign these to user registering for site according to options (customer & employee) they ...
0
votes
0answers
62 views

How to make a plugin appear only to a certain role of user?

I'm using a plugin called "Team Result", to create team results and things like that. It appeared on the dashboard for admin(me). As you can see in this print ...