Allow reporters to create global profiles

Post about your customizations to share with others.

Moderators: Developer, Contributor

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

Allow reporters to create global profiles

Post by Remy »

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: 1586
Joined: 11 Mar 2006, 16:08
Contact:

Re: Allow reporters to create global profiles

Post by cas »

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: 01 Aug 2019, 13:13

Re: Allow reporters to create global profiles

Post by Remy »

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