File redmine.apparmor.abstractions of Package redmine

# This AppArmor abstractions file is part of the redmine package
# Georg Pfuetzenreuter <mail+apparmor@georg-pfuetzenreuter.net>

  include <abstractions/nameservice>

  /etc/redmine/additional_environment.rb r,
  /etc/redmine/{configuration,database}.yml r,

  /sys/kernel/mm/transparent_hugepage/enabled r,

  /usr/bin/bundle.ruby.@{RM_RUBY_SUFFIX} r,

  /usr/lib64/ruby/gems/@{RM_RUBY_VERSION}/gems/*/lib/*/*.rb r,
  /usr/lib64/ruby/gems/@{RM_RUBY_VERSION}/specifications/{,default/}*.gemspec r,

  /var/log/redmine/production.log rw,
  /var/log/redmine/production.scm.stderr.log rw,

  @{RM_BASE}/Gemfile{,.{local,lock}} r,
  @{RM_BASE}/app/assets/images/{,{files,jstoolbar}/,**.png} r,
  @{RM_BASE}/app/assets/javascripts/{,{i18n,jstoolbar{,/lang}}/,**.js{,.map}} r,
  @{RM_BASE}/app/assets/stylesheets/jquery/images/{,*.png} r,
  @{RM_BASE}/app/assets/stylesheets/jquery/jquery-ui-*.css r,
  @{RM_BASE}/app/assets/stylesheets/{,jquery/,*.css} r,
  @{RM_BASE}/app/assets/themes/*/ r,
  @{RM_BASE}/app/assets/themes/*/favicon/{,favicon.ico} r,
  @{RM_BASE}/app/assets/themes/*/fonts/*.{ttf,woff} r,
  @{RM_BASE}/app/assets/themes/*/images/*.{gif,png} r,
  @{RM_BASE}/app/assets/themes/*/javascripts/theme.js r,
  @{RM_BASE}/app/assets/themes/*/stylesheets/*.css r,
  @{RM_BASE}/app/assets/themes/{,*/{images,javascripts,stylesheets}/} r,
  @{RM_BASE}/app/assets/{,fonts/} r,
  @{RM_BASE}/app/models/repository/{,*.rb} r,
  @{RM_BASE}/app/views/**/{,*.erb} r,
  @{RM_BASE}/app/{controllers,helpers,jobs,models,validators}/{,*.rb} r,
  @{RM_BASE}/config/environment{,s/production}.rb r,
  @{RM_BASE}/config/initializers/{,*.rb} r,
  @{RM_BASE}/config/locales/ r,
  @{RM_BASE}/config/locales/*.yml r,
  @{RM_BASE}/config/settings.yml r,
  @{RM_BASE}/config/{application,boot,routes}.rb r,
  @{RM_BASE}/lib/ r,
  @{RM_BASE}/lib/openSUSE/{,admin_constraint.rb} r,
  @{RM_BASE}/lib/redmine.rb r,
  @{RM_BASE}/lib/redmine/*/{,**/} r,
  @{RM_BASE}/lib/{plugins,redmine}/**.rb r,
  @{RM_BASE}/lib/{tasks,plugins,redmine}/ r,
  @{RM_BASE}/plugins/*/app/models/*/*{,.rb} r,
  @{RM_BASE}/plugins/*/app/views/**/{,*.erb} r,
  @{RM_BASE}/plugins/*/app/{,{controllers,helpers,models}/{,*.rb}} r,
  @{RM_BASE}/plugins/*/assets/images/*.png r,
  @{RM_BASE}/plugins/*/assets/javascripts/{*/,**.js} r,
  @{RM_BASE}/plugins/*/assets/stylesheets/*.css r,
  @{RM_BASE}/plugins/*/assets/{,{images,javascripts,stylesheets}/} r,
  @{RM_BASE}/plugins/*/config/locales/{,*.yml} r,
  @{RM_BASE}/plugins/*/config/routes.rb r,
  @{RM_BASE}/plugins/*/lib/{,**{/,*.rb}} r,
  @{RM_BASE}/plugins/*/{Gemfile,init.rb} r,
  @{RM_BASE}/public/assets/.manifest.json rw,
  @{RM_BASE}/public/assets/loading-*.gif r,
  @{RM_BASE}/public/plugin_assets/*/images/*.png r,
  @{RM_BASE}/public/plugin_assets/*/javascripts/**.js r,
  @{RM_BASE}/public/plugin_assets/*/stylesheets/*.css r,
  @{RM_BASE}/themes/*/favicon/{,favicon.ico} r,
  @{RM_BASE}/themes/*/fonts/*.{ttf,woff} r,
  @{RM_BASE}/themes/*/images/*.{gif,png} r,
  @{RM_BASE}/themes/*/javascripts/theme.js r,
  @{RM_BASE}/themes/*/stylesheets/*.css r,
  @{RM_BASE}/themes/{,*/{fonts,images,javascripts,plugins,stylesheets,svg}/} r,
  @{RM_BASE}/themes/*/plugins/*/{,*.css} r,
  @{RM_BASE}/themes/*/plugins/*/jquery/{,*.css} r,
  @{RM_BASE}/themes/{,*/} r,
  @{RM_BASE}/{app,plugins}/ r,

openSUSE Build Service is sponsored by