hi Frank,
what version of c2x are you using ?
gj.
On 18/06/2010 11:11, frank msuya wrote:
>
> 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.
> https://signup.live.com/signup.aspx?id=60969
>
>
>
> ------------------------------------------------------------------------------
> 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
>
------------------------------------------------------------------------------
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