Ask not what osTicket community can do for you - ask what you can do for osTicket community

Go Back   osTicket Forums > osTicket 1.6.x > Troubleshooting and Problems

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-03-2008, 01:54 PM
jason jason is offline
Junior Member
 
Join Date: Dec 2007
Posts: 20
Default Staff Access to more than one dept

OK I have created 2 depts. and 3 user groups. I some staff members to be able to see tickets for one dept and other staff members to see the other dept.

I would also like to have some staff that can see both.

So I have dept 1, dept 2. And I have group 1 in dept 1, group 2 in dept 2 and group 3 in dept 1 but I have the boxes checked to allow them to see the other depts.

Staff in this group cant see either. If I change the dept and group to one or the other they can see them.

Im sure I am doing something wrong but I am just no seeing it.

Thanks
Jason
Reply With Quote
  #2  
Old 01-03-2008, 11:37 PM
jason jason is offline
Junior Member
 
Join Date: Dec 2007
Posts: 20
Default

Am I Just asking my question wrong, or is this just not possible?
Reply With Quote
  #3  
Old 01-04-2008, 12:52 AM
peter peter is offline
Developer
 
Join Date: Dec 2007
Location: Alexandria, LA
Posts: 702
Lightbulb

Quote:
Originally Posted by jason View Post
Am I Just asking my question wrong, or is this just not possible?
I am not surprised that you are the ONLY one having problems with dept access. I hate to say I told you so...see http://osticket.com/forums/showthread.php?t=60
Reply With Quote
  #4  
Old 01-04-2008, 04:53 PM
jason jason is offline
Junior Member
 
Join Date: Dec 2007
Posts: 20
Default

HA. Peter you are absolutely right.

Thanks
Reply With Quote
  #5  
Old 01-07-2008, 02:43 PM
jason jason is offline
Junior Member
 
Join Date: Dec 2007
Posts: 20
Default

This does bring back the error now that I was getting before, If a staff member is in only one dept. then there is an extra comma in the sql call.

To fix this for now i added a 0 in front of the implode() on line 66. But again this does not fix the root of the problem. Which is that a blank $dept contains a empty space.

PHP Code:
print_r($depts
returns something like "0=> 1=>4". Im not sure why this is.

If I am the only one having this problem then it is probably not worth looking into though.

Jason

Last edited by jason; 01-08-2008 at 02:23 PM.
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:45 PM.