Defect #20490

WARNING: Can't mass-assign protected attributes for User

Added by Pavel Potcheptsov about 3 years ago. Updated about 3 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:Administration
Target version:3.1.1
Resolution:Fixed Affected version:3.1.0

Description

I got this warning when untick Administrator in user's settings.
I also thought that I will be asked for password as required by new Sudo mode, but I haven't been asked.

WARNING: Can't mass-assign protected attributes for User: login
    lib/redmine/safe_attributes.rb:84:in `safe_attributes='
    app/controllers/users_controller.rb:135:in `update'
    lib/redmine/sudo_mode.rb:63:in `sudo_mode'

Associated revisions

Revision 14550
Added by Jean-Philippe Lang about 3 years ago

WARNING: Can't mass-assign protected attributes for User (#20490).

History

#1 Updated by Toshi MARUYAMA about 3 years ago

  • Status changed from New to Confirmed
  • Target version set to 3.1.1

#2 Updated by Jean-Philippe Lang about 3 years ago

  • Status changed from Confirmed to Closed
  • Assignee set to Jean-Philippe Lang
  • Resolution set to Fixed

Also available in: Atom PDF