forked from galette/plugin-objectslend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_define.php
More file actions
84 lines (81 loc) · 3.55 KB
/
_define.php
File metadata and controls
84 lines (81 loc) · 3.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
/**
* Configuration file for ObjectsLend plugin
*
* PHP version 5
*
* Copyright © 2013-2016 Mélissa Djebel
* Copyright © 2017-2018 The Galette Team
*
* This file is part of Galette (http://galette.tuxfamily.org).
*
* ObjectsLend is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* ObjectsLend is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Galette. If not, see <http://www.gnu.org/licenses/>.
*
* @category Plugins
* @package ObjectsLend
*
* @author Mélissa Djebel <melissa.djebel@gmx.net>
* @author Johan Cwiklinski <johan@x-tnd.be>
* @copyright 2013-2016 Mélissa Djebel
* @copyright 2017-2018 The Galette Team
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL License 3.0 or (at your option) any later version
* @link http://galette.tuxfamily.org
*/
$this->register(
'Galette Objects Lend', //Name
'Manage rent/lend of object', //Short description
'Mélissa Djebel, Johan Cwiklinski', //Author
'1.0-dev', //Version
'0.9.2', //Galette version compatibility
'objectslend', //routing name and translation domain
'2019-06-24', //Date
[ //Permissions needed - not yet implemented
'objectslend_preferences' => 'admin',
'store_objectlend_preferences' => 'admin',
'objectslend_adminimages' => 'staff',
'objectslend_adminimages_action'=> 'staff',
'objectslend_category' => 'staff',
'objectslend_category_action' => 'staff',
'objectslend_categories' => 'staff',
'objectslend_filter_categories' => 'staff',
'objectslend_remove_category' => 'admin',
'objectslend_doremove_category' => 'admin',
'objectslend_status' => 'staff',
'objectslend_status_action' => 'staff',
'objectslend_statuses' => 'staff',
'objectslend_filter_statuses' => 'staff',
'objectslend_remove_status' => 'admin',
'objectslend_doremove_status' => 'admin',
'objectslend_object' => 'staff',
'objectslend_object_action' => 'staff',
'objectslend_object_clone' => 'staff',
'objectslend_objects' => 'staff',
'objectslend_filter_objects' => 'staff',
'objectslend_remove_object' => 'admin',
'objectslend_doremove_object' => 'admin',
'objectslend_batch-objectslist' => 'staff',
'objectslend_objects_print' => 'staff',
'objectslend_objects_printobject' => 'staff',
'objectslend_take_object' => 'staff',
'objectslend_show_object_lend' => 'staff',
'objectslend_do_take_lend' => 'staff',
'objectslend_give_object_back' => 'staff',
'objectslend_do_giveback_lend' => 'staff',
'objectslend_do_add_object' => 'staff',
'objectslend_doremove_lend' => 'admin',
'objectslend_disable_objects' => 'staff',
'objectslend_enable_objects' => 'staff'
]
);