«
Zurück
|
Weiter
»
Revision 0a82533b
Von Felix vor fast 14 Jahren hinzugefügt
- ID 0a82533bed28963e5f2334bc596395911907908d
README.rdoc | ||
---|---|---|
1 |
= openfire |
|
2 |
|
|
3 |
Description goes here |
config/locales/en.yml | ||
---|---|---|
1 |
# English strings go here for Rails i18n |
|
2 |
en: |
|
3 |
my_label: "My label" |
init.rb | ||
---|---|---|
1 |
require 'redmine' |
|
2 |
|
|
3 |
Redmine::Plugin.register :redmine_openfire do |
|
4 |
name 'Redmine Openfire plugin' |
|
5 |
author 'Felix Schäfer' |
|
6 |
description 'This plugin just adds 1 group administrator permission for use with openfire' |
|
7 |
version 'trunk' |
|
8 |
url 'http://orga.fachschaften.org/projects/redmine-openfire' |
|
9 |
author_url 'http://orga.fachschaften.org/users/3' |
|
10 |
|
|
11 |
project_module :openfire do |
|
12 |
permission :openfire_group_admin, {}, :require => :member |
|
13 |
end |
|
14 |
end |
test/test_helper.rb | ||
---|---|---|
1 |
# Load the normal Rails helper |
|
2 |
require File.expand_path(File.dirname(__FILE__) + '/../../../../test/test_helper') |
|
3 |
|
|
4 |
# Ensure that we are using the temporary fixture path |
|
5 |
Engines::Testing.set_fixture_path |
Auch abrufbar als: Unified diff
base redmine plugin with one permission