Task #1215 - Administrateur globaux phpcompta n'a pas accès à tous les profiles
#1215 : security , filter the profiles ,
This commit is contained in:
parent
d55cee1640
commit
4b00276e82
3 changed files with 44 additions and 5 deletions
|
|
@ -48,9 +48,7 @@ $profile->value=$cn->make_array("select p_id as value, ".
|
|||
" from profile "
|
||||
. "where "
|
||||
. "p_id in "
|
||||
. " (select p_granted "
|
||||
. " from user_sec_action_profile "
|
||||
. " where ua_right='W' and p_id=".$g_user->get_profile().") "
|
||||
. $g_user->get_writable_profile()
|
||||
. "order by 2");
|
||||
|
||||
// priority
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue