All users were logged out of Bugzilla on October 13th, 2018

Adding an event to CalDAV server if permissions do not have PUT access, Causes calendar to disappear.

RESOLVED INCOMPLETE

Status

RESOLVED INCOMPLETE
9 years ago
6 years ago

People

(Reporter: jim.stpeter, Unassigned)

Tracking

Details

(Reporter)

Description

9 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 (.NET CLR 3.5.30729)
Build Identifier: Lightning version 1.0b1

Adding an event to a calendar you do not have permission to PUT causes a failed to add event message. This also causes the calendar to disappear. Looking at the server logs shows an endless supply of PUTS for that user, about 20 every second even after restarting thunderbird/lightning.
Matching message in error log user 'bill' does not meet 'requirements for
user/valid-user to be allowed access.

    <Limit GET OPTIONS>
        Require valid-user
    </Limit>
    <Limit PUT POST DELETE>
        Require user danno
    </Limit>


Reproducible: Always

Steps to Reproduce:
1.limit some PUT to one user
2.Try to edit calender entry with a different user
3.error is displayed but Lightning does NOT handle the error well and calendar disappears.
Actual Results:  
192.168.100.26 - bill [13/Jan/2010:14:51:33 -0700] "PUT /calendar/danno/danno.cal HTTP/1.1" 401 482 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:
1.9.1.5) Gecko/20091204 Lightning/1.0b1 Thunderbird/3.0"
192.168.100.26 - bill [13/Jan/2010:14:51:33 -0700] "PUT /calendar/danno/danno.cal HTTP/1.1" 401 482 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:
1.9.1.5) Gecko/20091204 Lightning/1.0b1 Thunderbird/3.0"
192.168.100.26 - bill [13/Jan/2010:14:51:33 -0700] "PUT /calendar/danno/danno.cal HTTP/1.1" 401 482 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:
1.9.1.5) Gecko/20091204 Lightning/1.0b1 Thunderbird/3.0"
192.168.100.26 - bill [13/Jan/2010:14:51:33 -0700] "PUT /calendar/danno/danno.cal HTTP/1.1" 401 482 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:
1.9.1.5) Gecko/20091204 Lightning/1.0b1 Thunderbird/3.0"

[Wed Jan 13 14:51:33 2010] [error] [client 192.168.100.26] access to /calendar/danno/danno.cal failed, reason: user 'bill' does not meet 'require'ments for
user/valid-user to be allowed access
[Wed Jan 13 14:51:33 2010] [error] [client 192.168.100.26] access to /calendar/danno/danno.cal failed, reason: user 'bill' does not meet 'require'ments for
user/valid-user to be allowed access
[Wed Jan 13 14:51:33 2010] [error] [client 192.168.100.26] access to /calendar/danno/danno.cal failed, reason: user 'bill' does not meet 'require'ments for
user/valid-user to be allowed access
Keywords: qawanted

Comment 1

7 years ago
Reporter, are you using mod_caldav, or is this plain WebDAV? What calendar server is it=?
Jim, I'd appreciate if you could retest this to see if it still happens and answer comment 1 accordingly. Please reopen if it still happens.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → INCOMPLETE
Keywords: qawanted
You need to log in before you can comment on or make changes to this bug.