PDA

View Full Version : Ticketsmith custom security


Revelation7
24-09-04, 04:36 AM
This basically limits a user to see only his/her own tickets, unless he/she is an admin.

Couple of points to note:
1) This only works if you don't assign tickets to other people, a ticket must remain with the same owner through out its life cycle for this patch to work.
2) The function to check if this user is admin is in includes/main_function.php, superuser(), in there I checked a) the user type of "admin", or b) if user has access to all objects in permission. If this is not how you see it, change it.

Let me know if you have issues with this patch.

http://sourceforge.net/tracker/index.php?func=detail&aid=1033569&group_id=21656&atid=372485

bruce_buttles
09-02-05, 05:13 AM
I have a need for this type of security as well.
I looked on the SourceForge site as per the URL you gave me and found the patch you descripbed.
1033569 Ticketsmith custom security

HOWEVER, I can't find the code for the patch.

Can you help?

Revelation7
09-02-05, 06:15 AM
I will check on it later and will post it.

Revelation7
12-02-05, 04:04 PM
Sorry...I am going on a week long trip to visit family tomorrow...I was going to post this but it is getting late...I will fix this when I get back, promise.