6.0.0-alpha12
6/6/25

[#12812] rights for limiting messages not working
Summary rights for limiting messages not working
Queue IMP
Queue Version 6.1.5
Type Bug
State Resolved
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester jiri.reischig (at) ecn (dot) cz
Created 11/01/2013 (4235 days ago)
Due
Updated 11/04/2013 (4232 days ago)
Assigned 11/04/2013 (4232 days ago)
Resolved 11/04/2013 (4232 days ago)
Milestone
Patch No

History
11/04/2013 10:08:09 AM asa (at) isac (dot) gov (dot) in Comment #7 Reply to this comment
nevermind.  6.1.6.
Thank you.
11/04/2013 06:20:06 AM Michael Slusarz Comment #6
Assigned to Michael Slusarz
State ⇒ Resolved
Reply to this comment
nevermind.  6.1.6.
11/04/2013 06:19:34 AM Git Commit Comment #5 Reply to this comment
Changes have been made in Git (master):

commit 4b9bf43153163e565b9f7201bb034d35feb6724d
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Sun Nov 3 23:18:57 2013 -0700

     [mms] Fix regression in parsing permission values (Bug #12812).

  imp/docs/CHANGES  |    1 +
  imp/lib/Imap.php  |    2 +-
  imp/lib/Perms.php |   10 +++++++---
  imp/package.xml   |    2 ++
  4 files changed, 11 insertions(+), 4 deletions(-)

http://git.horde.org/horde-git/-/commit/4b9bf43153163e565b9f7201bb034d35feb6724d
11/04/2013 05:41:25 AM asa (at) isac (dot) gov (dot) in Comment #4 Reply to this comment
NO.  It was not at all working when used in IMP 6.1.4. So, filed a bug 
report 12674 and as you mentioned, it was resolved.  So, was waiting 
for the release of IMP 6.1.5.  When I upgraded to 6.1.5, it is not 
allowing to send more than 1 recipient.

Actually, I have upgarded from Horde 3.1 to Horde 5.1.

I also ran bin/imp-admin-upgrade --task=backend_perms, but it did not help.

can you please clarify on 'IMP permissions are now applied per backend.'.

[Show Quoted Text - 9 lines]
11/04/2013 04:52:42 AM Michael Slusarz Comment #3
Priority ⇒ 1. Low
State ⇒ Feedback
Reply to this comment
This sounds like a duplicate of Bug #12674.

It sounds like your permissions are not correct.  From docs/UPGRADING 
(6.0 -> 6.1):

IMP permissions are now applied per backend. To upgrade existing 
permissions, an admin needs to run the following script::

    bin/imp-admin-upgrade --task=backend_perms
11/01/2013 12:01:20 PM arjen+horde (at) de-korte (dot) org Comment #2 Reply to this comment
After upgrade from 6.1.4 to latest 6.1.5 imp rights max_recipients 
and max_timelimit are not working.
Same here. I got complaints from my users too.
If any number was set for the right, users not allowed send email 
for more then one recipient and 1 message per one hour.
I suspect they will not be able to send more than one message per 
$conf[sentmail][params][limit_period] though. It is set to 24 hours 
here and lo-and-behold, they were limited to just a single message per 
day. No surprise the complaints started pooring in at about 08:05 
local time... :-)
If I delete both rights sending messages are OK.
Yup, that's what I did too.
11/01/2013 10:02:44 AM jiri (dot) reischig (at) ecn (dot) cz Comment #1
Priority ⇒ 3. High
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Queue ⇒ IMP
Due ⇒ 11/01/2013
Summary ⇒ rights for limiting messages not working
Type ⇒ Bug
Reply to this comment
After upgrade from 6.1.4 to latest 6.1.5 imp rights max_recipients and 
max_timelimit are not working.

If any number was set for the right, users not allowed send email for 
more then one recipient and 1 message per one hour.

If I delete both rights sending messages are OK.

Saved Queries