1
Hi fellas!
Do you know if has anyone tried to move the definition of permissions in the 'xoops_version.php' file?
example
/ ------------------- Perms ------------------- //
$i = 0;
$modversion['gperm'] = array();
$modversion['gperm'][] = [
'name' => 'itemR',
'title' => '_MI_PERM_ITEMR',
'description' => '_MI_PERM_ITEMR_DESC',
'itemid' => true,
'trueifadmin' => true,
'category' => ''
];
$modversion['gperm'][] = [
'name' => 'itemW',
'title' => '_MI_PERM_ITEMW',
'description' => '_MI_PERM_ITEMW_DESC',
'itemid' => true,
'trueifadmin' => true,
'category' => ''
];
$modversion['gperm'][] = [
'name' => 'itemRW',
'title' => '_MI_PERM_ITEMrW',
'description' => '_MI_PERM_ITEMRW_DESC',
'itemid' => true,
'trueifadmin' => true,
'category' => ''
];
$modversion['gperm'][] = [
'name' => 'print',
'title' => '_MI_PERM_PRINT',
'description' => '_MI_PERM_PRINT_DESC',
'itemid' => false,
'trueifadmin' => true,
'category' => ''
];