Hi Frank,
Thanks for the note. Can you please post the content of your
global_conf/aereas_allow.php?
Thanks
Robert
Am Freitag, den 18.06.2010, 09:11 +0000 schrieb frank msuya:
>
> Hi care2x developers
>
> I'm having a problem, i need your help.
>
> I have created a new menu called Social welfare.When i create a user
> with social welfare access
> permissions, its ok can only access this area. The problem arise when
> i create another user with other
> access permissions like Radiology or Laboratory can access Social
> welfare as well. I have gone through the
> following areas:
>
>
> (1) Global_config------areas.php and areas_allow.php
>
> (2) language/en---------lang_en_access.php
>
> When you click the menu Social welfare it open the file
> socialwelfare_tz_pass.php with the following codes
>
>
> <?php
>
> require('./roots.php');
> require($root_path.'include/inc_environment_global.php');
> define('LANG_FILE','stdpass.php');
> define('NO_2LEVEL_CHK',1);
>
> require_once($root_path.'include/inc_front_chain_lang.php');
> $breakfile=$root_path.'main/startframe.php'.URL_APPEND;
> // reset all 2nd level lock cookies
> require($root_path.'include/inc_2level_reset.php');
>
> require_once($root_path.'global_conf/areas_allow.php');
>
> $allowedarea=&$allow_area['social_welfare'];
> $append=URL_REDIRECT_APPEND;
> $lognow='Social Welfare login ok';
>
>
> ?>
>
> Tell me where i'm wrong, i'm still stranger in care2x, i'm trying to
> catchup slowly
>
>
>
>
>
> ______________________________________________________________________
> Hotmail: Powerful Free email with security by Microsoft. Get it now.
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit. See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________ Care2002-developers mailing
> list [email protected]
> https://lists.sourceforge.net/lists/listinfo/care2002-developers
--
--------------------------------------------
MEROTECH IT Engineering
Robert Meggle
St.-Mang-Str. 8
87616 Marktoberdorf
Germany
Tel: +49(0)8342 - 8956729
Fax: +49(0)8342 - 8956730
mailto:[email protected]
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Care2002-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/care2002-developers