Allow reporters to create global profiles

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
Remy
Posts: 2
Joined: Aug 01, 2019 8:13 am

Allow reporters to create global profiles

Post by Remy » Aug 01, 2019 8:19 am

Hi everyone,

I would like my reporters to be able to create global profiles.
Do you know how I could do that please ?

Thanks,

cas
Posts: 622
Joined: Mar 11, 2006 11:08 am
Contact:

Re: Allow reporters to create global profiles

Post by cas » Aug 01, 2019 8:55 am

You should add to core\config_inc.php the following line:
$g_manage_global_profile_threshold = REPORTER;
Next make sure they can access that link.

Remy
Posts: 2
Joined: Aug 01, 2019 8:13 am

Re: Allow reporters to create global profiles

Post by Remy » Aug 23, 2019 1:41 am

Hi,
Thanks for your answer.
Here is what I did.

I've added the following line in config/config_inc.php in order to give reporters the right to manage global profiles:

$g_manage_global_profile_threshold = REPORTER;

Then I've created a custom menu:

$g_main_menu_custom_options =
array(
array(
'title' => 'Configuration Profils / Balises',
'access_level' => REPORTER,
'url' => 'manage_prof_menu_page.php',
'icon' => 'fa-wrench'),
);


best regards,

Post Reply