You are not logged in.
A Post Only user in the Public Note section, even if he cannot set anything, he can see the dropdown menu with the Entity, Users, Group and Profile.
Is it possible to hide the visibility section in this case?
For the knowledge base this section is not visible to the Post Only profile.
The function that controls this is the showVisibility() in the reminder.class.php.
To workaround I added this line in reminder.class.php:
if ($_SESSION["glpiname"] == "administrator.name") {
$types = array( 'Group', 'Profile', 'User', 'Entity');
}
to hide the dropdown to other users.
Is there a fix to this?
Best Regards.
Offline
Yes you are right.
Issue created here : https://forge.indepnet.net/issues/3947
MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI : Support Contribute References Freshmeat
Offline
fix here : https://forge.indepnet.net/projects/glp … ions/19521
will be available on 0.83.6
MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI : Support Contribute References Freshmeat
Offline