Override by user role / id, ever requested ?

Author Message

Bertrand Dunogier

Wednesday 06 July 2005 2:51:18 am

Hi,

I have been checking the forums and bug tracker, and I can't find anything...

Has anyone ever requested a match[user_id] or match[role_id] feature in template overrides ?

If yes, what were the conclusions ?

Paul Borgermans

Wednesday 06 July 2005 3:57:18 am

I've thought of that, but ended up checking for roles/user groups in templates.

I use it mainly to add a few buttons to edit/create from the "user" site depending on the roles/groups.

But it would be a logical feature to add, maybe file an enhancement request :-)

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Bertrand Dunogier

Wednesday 06 July 2005 4:46:14 am

Yeah, I think it would be a very nice improvement. It would lower the complexity required to make custom user stuff. Of course you can test in the template based on the user ID, but it's not as clean as the rest of eZ Publish :)

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.