phpCollab Community
Discuss everything phpCollab!

The forums are currently in READ-ONLY mode while we upgrade the forums.
Home » Development » Modifications » invoicing hack:phpCollab 2.4
invoicing hack:phpCollab 2.4 [message #2033] Sat, 24 May 2003 20:49 Go to next message
zoniguana is currently offline  zoniguana
Messages: 2
Registered: May 2003
phpCollab guest
Trying to put together an invoicing mod that will only allow invoicing if one as a project manager or higher. I have the table in place for what I want to do, and I have most of the scripting inplace for doing it. Now I just need to add the controls in of:
1- is the user logged in?
2- does the user have the right permissions?

Is there some place where I can dig up documentation to give me a hint of which of the umpteen include possibilities & functions will handle this?

I.e. if not logged in, redirect to the login page; if logged in, but not manager or admin, don't allow?

Thanks!!!

Soon as it is working, I'll share with everybody else!
I think I have the answer you seek... [message #2034] Sat, 24 May 2003 21:42 Go to previous messageGo to next message
urbanfalcon is currently offline  urbanfalcon
Messages: 235
Registered: January 2003
Location: new york
phpCollab contributor
Site Admin

I think I have done something similar to what you're talking about in terms of security and permissions. However, I don't know the code off the top of my head, and I don't know how much time I'll have this weekend to get it isolated. I have built a Newsdesk blog-style module for phpCollab which has the same kind of permissions structure...if I can get that up this weekend as a MOD, it might give you a place to start in terms of isolating the code and implementing security on your modification.
Awesome! [message #2035] Sat, 24 May 2003 21:46 Go to previous messageGo to next message
zoniguana is currently offline  zoniguana
Messages: 2
Registered: May 2003
phpCollab guest
Thank you!
invoicing hack:phpCollab 2.4 [message #2648] Tue, 22 July 2003 06:05 Go to previous messageGo to next message
lgbackend is currently offline  lgbackend
Messages: 1
Registered: July 2003
phpCollab guest
did this ever evolve into something?
invoicing hack:phpCollab 2.4 [message #3587] Mon, 20 October 2003 14:26 Go to previous messageGo to next message
sungoddess is currently offline  sungoddess
Messages: 1
Registered: October 2003
Location: Trinidad & Tobago
phpCollab guest

Indeed.... I'd be very interested in this kind of module....
invoicing hack:phpCollab 2.4 [message #3616] Wed, 22 October 2003 19:47 Go to previous messageGo to next message
fullo is currently offline  fullo
Messages: 390
Registered: January 2003
Location: faenza (ra)
phpCollab contributor
phpCollab Project Leader

this module is just present in the 2.5 cvs version
invoicing hack:phpCollab 2.4 [message #3909] Thu, 04 December 2003 21:32 Go to previous messageGo to next message
FilSchiesty is currently offline  FilSchiesty
Messages: 2
Registered: December 2003
phpCollab guest

I sure would like to see this as a MOD in the meantime.
invoicing hack:phpCollab 2.4 [message #3930] Sun, 07 December 2003 15:00 Go to previous messageGo to next message
fullo is currently offline  fullo
Messages: 390
Registered: January 2003
Location: faenza (ra)
phpCollab contributor
phpCollab Project Leader

there's too much changes to do for creating a simple MOD from invocing module (a lot of file is changed)
if someone want to do it we'll give him our best wishes! Wink
Yeah. [message #3961] Fri, 12 December 2003 18:43 Go to previous message
urbanfalcon is currently offline  urbanfalcon
Messages: 235
Registered: January 2003
Location: new york
phpCollab contributor
Site Admin

I've really just beefed up the Reports section to pull all the information I need for the manual creation of an invoice. It's not automatic. I've tried using the 2.5 Invoicing, but I don't quite have it down yet!! Sad
Previous Topic: [MOD] Protect project from non-team members.
Next Topic: MOD: phpCollab 2.5 patched
Goto Forum:
  


Current Time: Sat May 25 17:26:01 CEST 2013

Total time taken to generate the page: 0.35660 seconds