Forum

Unable to update us...
 
Notifications
Retirer tout

Unable to update user password

3 Posts
2 Utilisateurs
0 Reactions
1,332 Vu
(@ludoqtor)
Posts: 8
Active Member
Début du sujet
 
[#8627]

Hello,

ProjeQtOr v10.1.3 - French utilization.

After creation of users and initiate password with rule #4 for the strenght password.
The user can't change the default password. The below error message appears:
You are not allowed to update this item (Resource #3)
Does anyone have an idea how to solve this problem, because, I checked all the security options and I don't see how to solve it?

Thank you for your help


 
Posté : 23/11/2022 10:52 pm
(@babynus)
Posts: 14952
Membre Admin
 

Hi,
Issue confirmed.
Ticket #6713 recorded.
To fix the issue, change line 4949+ in projeqtor/model/persistence/SqlElement.php from

    if (get_class ( $this ) == 'Alert' or get_class ( $this ) == 'Mail' or get_class ( $this ) == 'MailToSend'       or get_class ( $this ) == 'Audit' or get_class ( $this ) == 'AuditSummary' or get_class ( $this ) == 'ColumnSelector'      or get_class ( $this ) == 'ProjectSituation' or get_class ( $this ) == 'ProjectSituationExpense' or get_class ( $this ) == 'ProjectSituationIncome' ) {

to

    if (get_class ( $this ) == 'Alert' or get_class ( $this ) == 'Mail' or get_class ( $this ) == 'MailToSend'       or get_class ( $this ) == 'Audit' or get_class ( $this ) == 'AuditSummary' or get_class ( $this ) == 'ColumnSelector'      or get_class ( $this ) == 'ProjectSituation' or get_class ( $this ) == 'ProjectSituationExpense' or get_class ( $this ) == 'ProjectSituationIncome'         or SqlElement::$_cancelRecursiveControl==true) {

 
Posté : 24/11/2022 11:01 am
(@ludoqtor)
Posts: 8
Active Member
Début du sujet
 

Thank you for your quick feedback.


 
Posté : 24/11/2022 4:19 pm
Share:
Retour en haut