Share » Forums » Setup & design » Editor Role - can't create anything

Editor Role - can't create anything

Editor Role - can't create anything

Saturday 16 July 2011 9:40:31 am - 9 replies

Modified on Saturday 16 July 2011 9:51:21 am by Tikhon Osipov

Author Message

Peter Keung

Saturday 16 July 2011 10:00:48 am

You were trying to create a new node beneath content of which content class? The default rules are quite specific regarding what you are creating and where you are creating it.  Usually you'd just have to add another policy with an additional ParentClass limitation.

http://www.mugo.ca
Mugo Web, eZ Partner in Vancouver, Canada

Ivo Lukac

Saturday 16 July 2011 10:12:13 am

It is a bug: http://issues.ez.no/IssueView.php?Id=18373

Patch is here: https://github.com/ezsystems/ezpublish/commit/637e3c0bc1a429af696800b68e4e752bf32ced9e

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

Tikhon Osipov

Saturday 16 July 2011 10:12:38 am

You were trying to create a new node beneath content of which content class? The default rules are quite specific regarding what you are creating and where you are creating it.  Usually you'd just have to add another policy with an additional ParentClass limitation.

None can be created - the "create new" button is gray and pop-up doesn't show.

It happens when I'm in a Frontpage (Home) or in a Folder - doesn't matter. Also it happens only when I logged in an administrative interface as an "editor" (a user with Editor Role, that I created). As Administrator User I can create any class available. But I'd like to restrict Editor user to create only specific class objects, as i suppose it should be.

Tikhon Osipov

Saturday 16 July 2011 10:13:11 am

It is a bug: http://issues.ez.no/IssueView.php?Id=18373

Patch is here: https://github.com/ezsystems/ezpublish/commit/637e3c0bc1a429af696800b68e4e752bf32ced9e

Thank you very much. I'll look into it.

Ivo Lukac

Saturday 16 July 2011 10:17:48 am

It is a bug: http://issues.ez.no/IssueView.php?Id=18373

Patch is here: https://github.com/ezsystems/ezpublish/commit/637e3c0bc1a429af696800b68e4e752bf32ced9e

Thank you very much. I'll look into it.

I am pretty sure that is the solution for you because it was for me and I had the same problem ;)

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

Tikhon Osipov

Saturday 16 July 2011 10:41:45 am

Ivo Lukac, btw, do you know what templates/classcreatelist.ctpl is for?

I see .ctpl extension for the first time.

Niko Goers

Monday 18 July 2011 1:21:04 am

Ivo Lukac, btw, do you know what templates/classcreatelist.ctpl is for?

I see .ctpl extension for the first time.

Yes, that would be really interesting to know. And how is it possible to implement the patch correctly with the changes of the classcreatelist.ctpl file?

Cheers

Niko

eZ Publish partner - http://www.all2e.com
http://share.ez.no/directory/companies/all2e-gmbh
http://ez.no/Partners/all2e-GmbH

Lords of Heaven - http://www.LoH-Gilde.de (Created with eZ Publish)
German online gaming guild

About me - http://www.NikoGoers.de

My roadmap, +1 are welcome: http://share.ez.no/community/roadmap/10889

Ivo Lukac

Monday 18 July 2011 1:55:55 am

Ivo Lukac, btw, do you know what templates/classcreatelist.ctpl is for?

I see .ctpl extension for the first time.

Yes, that would be really interesting to know. And how is it possible to implement the patch correctly with the changes of the classcreatelist.ctpl file?

Cheers

Niko

Jerome should know the best :)

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

Niko Goers

Tuesday 19 July 2011 3:36:47 pm

Thanks to Jerome for answering to our question on Twitter.

FYI: http://twitter.com/#!/jvieilledent/status/93441927537623040

@NikoGoers @ilukac .ctpl stands for code template. It's old and for our build system. Git apply the patch, there is some --ignore option

Cheers

eZ Publish partner - http://www.all2e.com
http://share.ez.no/directory/companies/all2e-gmbh
http://ez.no/Partners/all2e-GmbH

Lords of Heaven - http://www.LoH-Gilde.de (Created with eZ Publish)
German online gaming guild

About me - http://www.NikoGoers.de

My roadmap, +1 are welcome: http://share.ez.no/community/roadmap/10889

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu