Project

General

Profile

Users Custom Field - Editable overrides Visible flag

Added by @ go2null over 11 years ago

I created a Users custom field and is having some unexpected behavior with the Visible and Editable flags.

  1. Editable ON, Visible ON - field is visible and editable by user. OK.
  2. Editable ON, Visible OFF - field is visible and editable by user. UNEXPECTED.
  3. Editable OFF, Visible ON - field is not visible to user. UNEXPECTED.
  4. Editable OFF, Visible OFF - field is not visible to user. OK.

As stated in the subject line, it seems that Editable is overriding Visible.

NOTE:
In all cases, Required is set ON.

Environment:
  Redmine version                          2.0.3.stable
  Ruby version                             1.9.2 (x86_64-linux)
  Rails version                            3.2.6
  Environment                              production
  Database adapter                         Mysql2

Before I open a bug report, I'd like to sanitize it here on the forum.
Please let me know if I'm missing something.


Replies (5)

RE: Users Custom Field - Editable overrides Visible flag - Added by Etienne Massip over 11 years ago

Where do you see Editable/Visible/Required checkboxes? Is this a plugin feature?

RE: Users Custom Field - Editable overrides Visible flag - Added by @ go2null over 11 years ago

Administration / Custom Fields / Users

RE: Users Custom Field - Editable overrides Visible flag - Added by Etienne Massip over 11 years ago

You're right, didn't even know it existed.

Visible is refering to the user public profile screen, not to the user preferences screen.

I'll update RedmineCustomFields to add the Visible flag description.

RE: Users Custom Field - Editable overrides Visible flag - Added by @ go2null over 11 years ago

OK.

So, to summarize:
Visible controls whether the field is displayed in the user's profile [http://www.redmine.org/users/54354] page.
Editable controls whether the field is displayed (and editable) on the user's My Account [http://www.redmine.org/my/account] page.

    (1-5/5)