diff options
Diffstat (limited to 'app/models/issue_import.rb')
-rw-r--r-- | app/models/issue_import.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/models/issue_import.rb b/app/models/issue_import.rb index 6c59b26db..5a3542291 100644 --- a/app/models/issue_import.rb +++ b/app/models/issue_import.rb @@ -18,6 +18,13 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. class IssueImport < Import + def self.menu_item + :issues + end + + def self.authorized?(user) + user.allowed_to?(:import_issues, nil, :global => true) + end # Returns the objects that were imported def saved_objects |