Resources

My Agape try

Your Agape try


Support Forum

You must be logged in to post Login Register

Search 
Search Forums:


 




Editor can't create new custom-post

UserPost

8:18 pm
November 9, 2010


acebone

Member

Denmark

posts 9

1

Restrictions:

Unrestricted
Unrestricted
Unrestricted

Roles;

DEFAULTS for new Møde Referater:

+ Rolle Current Users or Groups
testbestyrelse_1  Groups: Afdelingsbestyrelse

'Mødereferat' is a custom post type built with plugins custom-fields-ui and custom posttype ui

The user 'testbestyrelse_1' is a member of the group 'Afdelingsbestyrelse' and has the WP role 'subscriber'

He can edit a couple of already existing 'mødereferat's - he's role to these specific posts is editor (through membership of Afdelingsbestyrelse)

But he can't create new 'Mødereferat's

9:06 pm
November 9, 2010


Kevin

Admin

posts 2503

2

The "DEFAULTS for new" post role assignment bestows the Editor role to selected users and groups for each new post after it is created.

To give a user the ability to create / publish a new post, they need a General Role or (if the post type uses taxonomies) Taxonomy Role assignment. In your case, group Afdelingsbestyrelse needs a General Role of Møde Referat Editor.

9:15 pm
November 9, 2010


acebone

Member

Denmark

posts 9

3

Thanks for responding so quickly!

For the life of me I can't do what you are telling me. I simply don't know how to do it.

In the 'define' groups page for 'Afdelingsbestyrelse' I see no such option, and likewise in the 'Mødereferat' roles page - no such option

?

9:17 pm
November 9, 2010


acebone

Member

Denmark

posts 9

4

Sorry - I seem to have found it

9:20 pm
November 9, 2010


acebone

Member

Denmark

posts 9

5

Yep - it works!

The bug was of course in my understanding!

Thanks for the awesome help!!

9:20 pm
November 9, 2010


Kevin

Admin

posts 2503

6

FYI, if you have any desire for them to edit a subset of the Møde Referater posts, a General Role of Møde Referat Author would be sufficient.

9:25 pm
November 9, 2010


acebone

Member

Denmark

posts 9

7

Well the only reason I chose editor was because I wanted them to able to publish and edit by themselves.

If I understand you correctly, setting them to GR of Møde Referat author, would mean they could still publish but only edit own?

9:27 pm
November 9, 2010


Kevin

Admin

posts 2503

8

acebone said:

Well the only reason I chose editor was because I wanted them to able to publish and edit by themselves.

If I understand you correctly, setting them to GR of Møde Referat author, would mean they could still publish but only edit own?


Correct.

9:30 pm
November 9, 2010


Kevin

Admin

posts 2503

9

FYI, when you assign a role directly to a specific post (or by default for new posts), "Post Author" is not offered because it is redundant under the default role definitions.

9:37 pm
November 9, 2010


acebone

Member

Denmark

posts 9

10

I see…

But now that I've set a general role of 'editor' for my custom post, is there any need for the 'editor' on 'default for new' ?

The "DEFAULTS for new" post role assignment bestows the Editor role to selected users and groups for each new post after it is created.

BEFORE setting the general role as advised by you, and BEFORE updating to the latest dev version I actually had the following happen to me:

I set my user to WP-Contributor - and now he could actually create, but neither edit nor publish.

I haven't tested this with the dev-version, coz I'm pulling an all-nighter and have to present tomorrow so time is sparse


9:44 pm
November 9, 2010


Kevin

Admin

posts 2503

11

acebone said:

I see…

But now that I've set a general role of 'editor' for my custom post, is there any need for the 'editor' on 'default for new' ?



No, a General Role of Editor will cover all the custom posts except any for which you have restricted the Editor role.

9:50 pm
November 9, 2010


acebone

Member

Denmark

posts 9

12

Wisening up here :)

Thanks again for a great plugin and super-help in my time of need :D


About the Agapetry forum

Currently Online:

14 Guests

Maximum Online: 150

Forums:

Groups: 2

Forums: 7

Topics: 1246

Posts: 5654

Members:

There are 1257 members

There are 1 guests


Kevin has made 2503 posts

Top Posters:

metal450 - 178

Ragnar - 108

YikYak - 70

whiteorb - 49

Daisy - 35

Administrator: Kevin | Moderators: Kevin