Extension Permission

Author Message

Shoaib Bagdadi

Thursday 02 September 2010 1:31:51 am

I recently tried to create an extension called tipafriend for purpose of learning extension development
in module.ini.append.php if I just add the following details
[ModuleSettings]
ExtensionRepositories[]=tipafriend
I am not able to add permission to the functions in my extension
but when I add
[ModuleSettings]
ExtensionRepositories[]=tipafriend
ModuleList[]=learntip --> name of the subfolder in modules folder
Then it works. Is this a new change in ezPublish because the tutorial I was refering to just asked me to add
[ModuleSettings]
ExtensionRepositories[]=tipafriend
in module.ini.append.php
Thanks in advance

Damien Pobel

Thursday 02 September 2010 2:50:44 pm

Hi Shoaib,

The module name has to be declared in module.ini/[ModuleSettings]/ModuleList since eZ Publish 4.1. As far as I know, it's too avoid to scan all modules directories in every extensions to discover the list of modules.

Cheers

Damien
Planet eZ Publish.fr : http://www.planet-ezpublish.fr
Certification : http://auth.ez.no/certification/verify/372448
Publications about eZ Publish : http://pwet.fr/tags/keywords/weblog/ez_publish

Shoaib Bagdadi

Friday 03 September 2010 1:49:20 am

Thanks Damien

André R.

Friday 03 September 2010 2:04:01 am

Updated article to include this setting as I guess you had this from Felix's article?

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

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