Resources

My Agape try

Your Agape try


Support Forum

You must be logged in to post Login Register

Search 
Search Forums:


 




wp document revisions + role scoper default role not set

UserPost

11:04 pm
December 7, 2011


jai

Member

posts 9

1

Hi Kevin,

I'm not sure if you are able to shed any light on the situation or not but I'll ask just in case.

I'm testing out the plugin WP Document Revisions and Role Scoper's ability to apply permissions to the custom post type it creates.

RS sees the post type and I can apply restrictions and roles as normal, however the default roll setting is not honoured when a new post is created.

Example:

  1. Assign a group to the default role to Document Editors.
  2. Create new document post as member of group.
  3. Document Editor role for the new post is not set.

 Cheers.

12:23 pm
January 6, 2012


Kevin

Admin

posts 2502

2

I haven't tried that plugin, but it may be that the post is inserted via manual $wpdb->query call, which would not trigger the action hooks RS relies on to create the default role assignment.


About the Agapetry forum

Currently Online:

11 Guests

Maximum Online: 150

Forums:

Groups: 2

Forums: 7

Topics: 1244

Posts: 5649

Members:

There are 1254 members

There are 1 guests


Kevin has made 2502 posts

Top Posters:

metal450 - 178

Ragnar - 108

YikYak - 70

whiteorb - 49

Daisy - 35

Administrator: Kevin | Moderators: Kevin