| invoicing hack:phpCollab 2.4 [message #2033] |
Sat, 24 May 2003 20:49  |
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   |
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| invoicing hack:phpCollab 2.4 [message #3930] |
Sun, 07 December 2003 15:00   |
|
|
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!
|
|
|
|
| Yeah. [message #3961] |
Fri, 12 December 2003 18:43  |
|
|
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!!
|
|
|
|