Permalink
Cannot retrieve contributors at this time
48 lines (36 sloc)
1.58 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Bazaar Configuration | |
| $c->{plugins}{"Convert::AddCoversheet"}{params}{disable} = 0; | |
| $c->{plugins}{"Event::AddCoversheet"}{params}{disable} = 0; | |
| $c->{plugins}{"Screen::Coversheet::Activate"}{params}{disable} = 0; | |
| $c->{plugins}{"Screen::Coversheet::Deprecate"}{params}{disable} = 0; | |
| $c->{plugins}{"Screen::Coversheet::Edit"}{params}{disable} = 0; | |
| $c->{plugins}{"Screen::Coversheet::New"}{params}{disable} = 0; | |
| $c->{plugins}{"Screen::EPMC::Coversheet"}{params}{disable} = 0; | |
| # Stores the id of the Coversheet Dataobj that was used to generated the CS'ed document | |
| push @{$c->{fields}->{document}}, | |
| { | |
| name => 'coversheetid', | |
| type => 'int', | |
| }; | |
| # Where the coversheets are stored: | |
| $c->{coversheet}->{path_suffix} = '/coversheets'; | |
| $c->{coversheet}->{path} = $c->{archiveroot}.'/cfg/static/coversheets'; | |
| $c->{coversheet}->{url} = $c->{base_url}.'/coversheets'; | |
| # Ghostscript command to stitch the pdfs | |
| $c->{gs_pdf_stich_cmd} = "gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile="; | |
| # Fields used for applying coversheets | |
| $c->{license_application_fields} = [ "type" ]; | |
| #new permissions for coversheet toolkit | |
| $c->{roles}->{"coversheet-editor"} = | |
| [ | |
| "coversheet/destroy", | |
| "coversheet/write", | |
| "coversheet/activate", | |
| "coversheet/deprecate", | |
| "coversheet/view", | |
| ]; | |
| push @{$c->{user_roles}->{editor}}, 'coversheet-editor'; | |
| push @{$c->{user_roles}->{admin}}, 'coversheet-editor'; | |
| push @{$c->{user_roles}->{local_admin}}, 'coversheet-editor'; | |
| # Tags may be defined locally, see Plugin/Convert/AddCoversheet.pm | |
| # $c->{coversheet}->{tags} = {}; | |