Share » Forums » Setup & design » User management -- limiting access by...

User management -- limiting access by subtree vs section

User management -- limiting access by subtree vs section

Wednesday 14 April 2010 9:43:06 am - 6 replies

Author Message

Nicolas Pastorino

Friday 16 April 2010 12:58:40 am

Hi David,

How about using section for access limitation (which does not suffer form the same inheritance issue as the subtree limitation does), and relying on url_alias match for the pagelayouts overrides.
References :

  • http://twitter.com/mugo/status/12071558664
  • http://ez.no/doc/ez_publish/technical_manual/4_x/reference/template_override_conditions , in the 'pagelayout.tpl' and 'node/view/*.tpl' ( 'url_alias' condition) sections.

Let us know if that works,
Cheers !

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

David Wirth

Monday 19 April 2010 6:37:14 am

Oh, does url_alias work for partial matches, e.g. if I specify Match[url_alias]=abc it will apply to abc/def? If that is the case then I'm set. I'll try that out. Thanks.

Peter Keung

Monday 19 April 2010 9:09:37 am

Oh, does url_alias work for partial matches, e.g. if I specify Match[url_alias]=abc it will apply to abc/def? If that is the case then I'm set. I'll try that out. Thanks.

Yes, we tested that on a 4.2 installation and the Match[url_alias] condition works for partial matches.

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

David Wirth

Tuesday 20 April 2010 6:22:52 am

Thanks, Nicolas and Peter, it works!

Nicolas Pastorino

Tuesday 20 April 2010 6:28:08 am

Thanks, Nicolas and Peter, it works!

Excellent, good to hear!

You may now want to mark the topic as solved (small ticker by the left of the topic's title above).

Cheers !

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

David Wirth

Tuesday 20 April 2010 1:21:13 pm

I clicked it and see a checkmark on this page but it is not showing up on the forum top level.

EDIT: Eh, nevermind, of course it showed up after I posted this.

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

36 542 Users on board!

Forums menu