You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2009-01-29 15:55:17

BlinckyBlue
Member
Registered: 2009-01-29
Posts: 12

Activity Rightmanagement

Hello,

I have a problem with the rightmanagement of the activity plugin. I selected for "Display activities of all" "no access". That works for reports and for the list of activitys but NOT for the user profile. If I go to administration -> user -> plugin -> then I can select activity and I can see all the user activitys, which i shouldn't see.

I hope somebody understand me and can help me!

Thanks a lot!

Stefanie

Offline

#2 2009-01-29 16:15:28

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: Activity Rightmanagement

Version of plugin ? and glpi ?


Xavier Caillaud
Blog GLPI Infotel

Offline

#3 2009-01-29 17:14:24

BlinckyBlue
Member
Registered: 2009-01-29
Posts: 12

Re: Activity Rightmanagement

Activity Plugin Version 1.4
GLPI version 0.71.3

Offline

#4 2009-01-29 17:37:10

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: Activity Rightmanagement

yes you're right : replace in setup.php :

function plugin_headings_activity_user($type,$ID){

    echo "<div align='center'>";
    echo plugin_activity_showAssociatedUser($ID);
    echo "</div>";
}

function plugin_headings_activity_user($type,$ID){

    echo "<div align='center'>";
    if(plugin_activity_haveRight("all_users","1"))
        echo plugin_activity_showAssociatedUser($ID);
    echo "</div>";
}


Xavier Caillaud
Blog GLPI Infotel

Offline

#5 2009-01-29 17:48:30

BlinckyBlue
Member
Registered: 2009-01-29
Posts: 12

Re: Activity Rightmanagement

great it works! smile Thanks a lot!

Offline

#6 2009-01-29 19:50:16

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: Activity Rightmanagement

wink

added to next version


Xavier Caillaud
Blog GLPI Infotel

Offline

Board footer

Powered by FluxBB