You are not logged in.
Pages: 1
Topic closed
I'm using the branch 0.7RC2 and I have located problems with the permissions in the profiles. I'm going to try to explain they are the problems with my poor English, of the possible simplest form.
The options that offer problems are:
See my tickets (personnal + group associated)
Show tickets create by my groups
Show all tickets
When we selected "Show all tickets" the display show the complete finder to us and we can make the searches on all the incidences, so all is correct. As always a good work, as is expect.
The problem is when we turn off this option "Show all tickets":
See my tickets (personnal + group associated) + Show tickets create by my groups = YES
In this case, the display show us the complete finder, but in the allocation of the technician this always forced the user who has made login, of this form the technician can see only his incidences, so the problem is that it can neither see nor modify the incidences of its groups (I believe that it is bug)
See my tickets (personnal + group associated) = YES - Show tickets create by my groups = NO
In this case, the display show us the complete finder, and works as same previos case, all ok.
See my tickets (personnal + group associated) = NO Show tickets create by my groups = YES
In this case, the display show us the simple finder, and the technician can select his incidences or group incidences, but the search don't work ALWAYS show all the incidences (I believe that it is bug)
See my tickets (personnal + group associated) + Show tickets create by my groups = NO
Ok, only show the incidences of the user login.
Last edited by ElGranLoky (2007-11-14 12:58:31)
Offline
translation seems to be wrong :
See my tickets (personnal + group associated) need to be : see tickets assigned to me
I made a correction.
1 - I try and I can see and modify tickets of my groups.
I correct some things you could retry.
MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI : Support Contribute References Freshmeat
Offline
I domwload the last version of tracking.function.php and made the tests.
The first bug already supposed that it was translation problem, so by my this correct one.
The second problem continues happening equal exactly. When the option "see tickets assigned to me" is off, and the option "Show tickets create by my groups" is on, the finder that show is the simple and we can modify all the incidences without problems.
But it follows without working the search, it gives all the incidences don matter if i searh for title or description or id or state, categories etc.. all the search shows all incidences of the user and its groups, so it is as if any search was not made.
Thanks for these quickly answer.
Offline
I domwload the last version of tracking.function.php and made the tests.
The first bug already supposed that it was translation problem, so by my this correct one.
I update dictionnaries right now. I made correciton on our online translation application but not on the SVN.
The second problem continues happening equal exactly. When the option "see tickets assigned to me" is off, and the option "Show tickets create by my groups" is on, the finder that show is the simple and we can modify all the incidences without problems.
Do you have update ticket right ? If yes it is normal.
But it follows without working the search, it gives all the incidences don matter if i searh for title or description or id or state, categories etc.. all the search shows all incidences of the user and its groups, so it is as if any search was not made.
corrected.
MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI : Support Contribute References Freshmeat
Offline
I update with diff 5867 in svn. Sorry but it continues without working. I cannot help you in the code because I have not even idea of programming in php.
But i will try to explain all the steps that I have realized to see the mistake.
A user with profile of "post-only", using the seeker of incidents of this profile, can do the searches without problems and everything works correctly.
The problem is when I change this user's profile and I it go on to the interface "central", activating only the option "Show tickets create by my groups" in this case the seeker of incidents who shows us is the same that in case of the helpdesk, but here the searches do not work. Some reports of the debug are:
SELECT DISTINCT glpi_tracking.*, glpi_dropdown_tracking_category.completename AS catname, glpi_groups.name as groupname
FROM glpi_tracking
LEFT JOIN glpi_groups ON ( glpi_tracking.FK_group = glpi_groups.ID)
LEFT JOIN glpi_dropdown_tracking_category ON ( glpi_tracking.category = glpi_dropdown_tracking_category.ID)
WHERE ( 1 ) AND ( glpi_tracking.FK_group IN (2) OR glpi_tracking.author = '33') AND glpi_tracking.FK_entities IN (5)
ORDER BY glpi_tracking.date ASC
POST VARIABLE
searchText => *
value => 0
table => glpi_dropdown_tracking_category
myname => category
limit => 50
comments => 1
rand => 165133696
entity_restrict => -1
update_item =>
GET VARIABLE
status => waiting
group => -1
showfollowups => 1
____data_448397200 =>
category => 0
tosearch => name_contents
search => mando
start => 0
extended => 1
sort =>
order =>
priority => 0
author => 0
assign => 0
assign_ent => 0
assign_group => 0
item => 0
type => 0
request_type => 0
contains =>
contains3 =>
date1 => 0000-00-00
enddate1 => 0000-00-00
date2 => 0000-00-00
enddate2 => 0000-00-00
field =>
only_computers =>
The options who works is:
All or just mine ones
Show follow-ups
Category
The options who don't work is:
Status
search for title or description or id etc...
Offline
main problem is here not only in tracking.function.php
https://dev.indepnet.net:8080/glpi/changeset/5867#file0
MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI : Support Contribute References Freshmeat
Offline
I donwloaded the last version in snv. All ok. Thanks for the work.
Offline
thanks for the bug detection.
I close.
MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI : Support Contribute References Freshmeat
Offline
Pages: 1
Topic closed