Create tables and assign Custom Fields to its columns. If your Custom Table belongs to a Task, you may assign Custom Table Workflows to allow/disallow editing of any column.
Assign a role to your users/groups with the following permissions:
You can still create and grant those permissions to Tables that aren't related to a Project or Task. They are accessible directly, as new page.
Every row of data is searchable. Export the whole table or only the selected rows to CSV or PDF.
New data may be inserted with CSV upload.
This plugin provides a possibility to create custom tables. The table is built with Redmine custom fields.
It allows you to create any databases you need for your business and integrate it into your workflow processesusing Redmine Custom Workflows plugin.
$ git clone https://github.com/marcelbonnet/redmine_tables.git
custom_tables
$ RAILS_ENV=production bundle exec rake redmine:plugins NAME=redmine_tables
1) Visit Administration->Custom tables to open table constructor. 2) Press button New table. Fill the name field, select projects you want to enable table on and submit the form. 3) Add custom fields to your new table. 4) Grant access to the users Administration -> Roles and permissions -> Project -> Manage custom tables
Example code to force any custom value less then 100, with CustomField ID=699, to a default value:
Rails.logger.info "==> TESTING 1,2,3..."
# rules
custom_field_id = 699
min = 100
default_val = 100
value = self.custom_field_value(custom_field_id)
if value.to_i < min
self.custom_field_values = {
custom_field_id => default_val
}
end
This project was based on redmine_custom_tables from https://github.com/frywer/custom_tables and severely modified.