| Anonymous | Login | Signup for a new account | 21-11-09 09:38 GMT |
| Main | My View | View Issues | Change Log | Roadmap | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Print ] | |||||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
| 0014943 | [phplist] PHPlist | minor | have not tried | 05-06-08 17:39 | 05-06-08 17:53 | |||||||
| Reporter | julian | View Status | public | |||||||||
| Assigned To | ||||||||||||
| Priority | normal | Resolution | open | |||||||||
| Status | new | Product Version | ||||||||||
| Summary | 0014943: [How to] Admins process only their own lists. | |||||||||||
| Description |
Possible feature posted in the following forum thread: http://forums.phplist.com/viewtopic.php?p=48926#48926 [^] "We have multiple admins looking after multiple lists but only wanted each list owner to be able to process their own queue and not the whole queue as is the default for the system. The answer lies in processqueue.php You need to make the following modifications to line 326 Change Code: $messages = Sql_query("select id,userselection,rsstemplate,subject from ".$tables["message"]." where status != \"draft\" and status != \"sent\" and status != \"prepared\" and status != \"suspended\" and embargo < now() order by entered"); to read Code: # This is for the Super User to send absolutely anything $messages = Sql_query("select id,userselection,rsstemplate,subject from ".$tables["message"]." where status != \"draft\" and status != \"sent\" and status != \"prepared\" and status != \"suspended\" and embargo < now() order by entered"); if (!isSuperUser()) { $messages = Sql_query("select id,userselection,rsstemplate,subject from ".$tables["message"]." where status != \"draft\" and status != \"sent\" and status != \"prepared\" and status != \"suspended\" and embargo < now() and owner = ". $_SESSION["logindetails"]["id"] ." order by entered"); } This will check if the user isn't a superuser and if they are not the system will only select the messages that they created as the owner, and process them in the queue." |
|||||||||||
| Additional Information | ||||||||||||
| Tags | No tags attached. | |||||||||||
| Attached Files | ||||||||||||
|
|
||||||||||||
| There are no notes attached to this issue. |
| Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group |