Project

General

Profile

Actions

Feature #22352

open

Manage customer fields of plugins

Added by Laurent Girard about 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Custom fields
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

Redmine plugins sometimes add new fields in Redmine (in issues or other part of Redmine). It's obviously possible to add them in custom fields but in that case, administrators are not informed that the custom field is required for a plugin and might remove them. It would be nice to add a table such as custom_field_plugins that would link a custom field to a plugin name (the plugin would be in charge when it adds a custom field to indicate that this custom field is used by this plugin).

When a custom field is linked to a plugin :
  • A new column in the Custom fields list (below) is added and indicates the name of the plugin (name given in the table custom_field_plugins) :

  • The button is not present on these lines (to avoid deletion);

Advantages : be able to use "Custom fields" features on these fields (changing the name, the default value, the list of values, if it is required or not...).

We could imagine that the table custom_field_plugins will permit to set the fields of Custom fields to be modifiable or not. For example a column name_read_only to 0 will not permit administrators to change the name of the plugin custom field. If the value is 1, the name of the custom field might be modified. And so on for description, possible values, projects...

It might permit to several plugins to use the same custom field too.


Files

Delete.png (830 Bytes) Delete.png Laurent Girard, 2016-03-30 14:27
CustomFileds.png (17.8 KB) CustomFileds.png Laurent Girard, 2016-03-30 14:27
CustomFieldValues.png (59.7 KB) CustomFieldValues.png Laurent Girard, 2016-03-30 14:39

No data to display

Actions

Also available in: Atom PDF