Actualizar plugin Checklists a 3.1.18 light

This commit is contained in:
Manuel Cillero 2020-11-22 21:32:57 +01:00
parent a26f5567af
commit 24560c8598
55 changed files with 992 additions and 307 deletions

View file

@ -1,7 +1,7 @@
# This file is a part of Redmine Checklists (redmine_checklists) plugin,
# issue checklists management plugin for Redmine
#
# Copyright (C) 2011-2017 RedmineUP
# Copyright (C) 2011-2020 RedmineUP
# http://www.redmineup.com/
#
# redmine_checklists is free software: you can redistribute it and/or modify
@ -20,7 +20,7 @@
require 'redmine'
require 'redmine_checklists/redmine_checklists'
CHECKLISTS_VERSION_NUMBER = '3.1.10'
CHECKLISTS_VERSION_NUMBER = '3.1.18'.freeze
CHECKLISTS_VERSION_TYPE = "Light version"
Redmine::Plugin.register :redmine_checklists do
@ -31,7 +31,7 @@ Redmine::Plugin.register :redmine_checklists do
url 'https://www.redmineup.com/pages/plugins/checklists'
author_url 'mailto:support@redmineup.com'
requires_redmine :version_or_higher => '2.3'
requires_redmine :version_or_higher => '2.6'
settings :default => {
:save_log => true,
@ -40,9 +40,9 @@ Redmine::Plugin.register :redmine_checklists do
Redmine::AccessControl.map do |map|
map.project_module :issue_tracking do |map|
map.permission :view_checklists, {:checklists => [:show, :index]}
map.permission :done_checklists, {:checklists => :done}
map.permission :edit_checklists, {:checklists => [:done, :create, :destroy, :update]}
map.permission :view_checklists, { :checklists => [:show, :index] }
map.permission :done_checklists, { :checklists => :done }
map.permission :edit_checklists, { :checklists => [:done, :create, :destroy, :update] }
end
end