Further analysis of the language files shows that the statement:
  $_a_1_laball = 'All Laboratory read & write';
or
  $_a_1_lab_admin = 'All Laboratory read & write';
that should have been around line 26 in the file language/en/lang_en_access.php 
is conspicuously missing.

The file is available in the sw language as language/sw/lang_sw_access.php and 
is missing its counterparts in all other languages (possibly defaulting to the 
English version). This probably shows that the said permission isn't used at 
all and is safe to delete. Shall I commit it accordingly?

Regards,
Ap.Muthu
  A total of 382 permissions across 35 sample roles in GJ list 2 were analysed 
to provide 45 unique permissions.

  Will someone please explain what the "_a_1_*" and "_a_2_*" permissions mean?

  File: global_conf/areas_allow.php
  Lines 27-31:
    'lab_r'=>array('_a_1_labresultswrite', '_a_2_labresultsread'),

    'lab_w'=>array('_a_1_labresultswrite'),

    'lab_all'=>array('_a_1_laball'),

  There seems to be an error here. The _a_1_laball access role should be 
allowed access to files requiring lab_r and lab_w permissions as well, just as 
the _a_1_labresultswrite role has access to files requiring lab_r permission.

  Hence the above should be:
    'lab_r'=>array('_a_1_laball', '_a_1_labresultswrite', 
'_a_2_labresultsread'),

    'lab_w'=>array('_a_1_laball', '_a_1_labresultswrite'),

    'lab_all'=>array('_a_1_laball'),

  File: global_conf/areas.php
  Line: 28
    '_a_1_laball' => $_a_1_lab_admin,
  The above variable $_a_1_lab_admin  (and _a_1_lab_admin) is not found 
anywhere at all - not in *.php and not in *.tpl.
  Even if we change the variable to $_a_1_laball  or $_a_1_lab_all even that 
permission is not used by any file and is not present in any language file 
other than en and sw! The situation is the same for variables:
  $_a_0_laball, $_a_2_laball, $_a_0_lab_all, $_a_2_lab_all

  Hence can we delete the line 28 in file global_conf/areas.php and delete the 
line 31 in file global_conf/areas_allow.php leaving the rest unchanged?

  The said permission _a_1_laball is used in GJ's second list for the 
Doctor_Lab role and the Head_Medical_Commission role. Both roles have 
permission _a_1_labresultswrite and the latter has the permission 
_a_2_labresultsread as well.

  Regards,
  Ap.Muthu



------------------------------------------------------------------------------


  ------------------------------------------------------------------------------
  Nokia and AT&T present the 2010 Calling All Innovators-North America contest
  Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
  $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
  Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
  http://p.sf.net/sfu/nokia-dev2dev


------------------------------------------------------------------------------


  _______________________________________________
  Care2002-developers mailing list
  Care2002-developers@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/care2002-developers
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Care2002-developers mailing list
Care2002-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/care2002-developers

Reply via email to