Modify

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#11935 closed defect (invalid)

Weird Permission Denied issue

Reported by: anonymous Owned by: Jun Omae
Priority: normal Component: TracDragDropPlugin
Severity: normal Keywords:
Cc: Trac Release:

Description

The log says

2014-08-19 17:14:05,867 Trac[main] DEBUG: Dispatching <RequestWithSession "POST '/tracdragdrop/new/ticket/144'">
2014-08-19 17:14:05,870 Trac[MyPagePlugin] DEBUG: match_request: url = wiki/u/branson
2014-08-19 17:14:05,870 Trac[MyPagePlugin] DEBUG: match_request: req = /tracdragdrop/new/ticket/144
2014-08-19 17:14:05,872 Trac[session] DEBUG: Retrieving session for ID u'branson'
2014-08-19 17:14:05,874 Trac[main] DEBUG: Negotiated locale: None -> en_US
2014-08-19 17:14:05,895 Trac[api] INFO: Synchronized '(default)' repository in 0.02 seconds
2014-08-19 17:14:06,628 Trac[chrome] DEBUG: Prepare chrome data for request
2014-08-19 17:14:06,631 Trac[api] DEBUG: Checking permission called with: action(XML_RPC),                    username(branson), resource(None), perm(<trac.perm.PermissionCache object at 0x7fd1cf962230>)
2014-08-19 17:14:06,632 Trac[auth] DEBUG: _dir_search: searching ou=People,dc=blackphone,dc=ch for (&(uid=branson)(objectClass=person))(e2d41725390e228923405648cc51151e)
2014-08-19 17:14:06,633 Trac[auth] DEBUG: _dir_search: starting LDAP search of ldap://ldap.inf.blackphone.ch ou=People,dc=blackphone,dc=ch using (&(uid=branson)(objectClass=person)) for ['uid']
2014-08-19 17:14:06,635 Trac[auth] DEBUG: _dir_search: dir hit, 1 entries.
2014-08-19 17:14:06,639 Trac[auth] DEBUG: user branson has dn: cn=Branson Matheson,ou=People,dc=blackphone,dc=ch
2014-08-19 17:14:06,640 Trac[auth] DEBUG: _dir_search: searching ou=group,dc=blackphone,dc=ch for (&(objectClass=posixGroup)(memberUid=branson))(e0ea4b6b0174926d8869636eb7e95d90)
2014-08-19 17:14:06,640 Trac[auth] DEBUG: _dir_search: starting LDAP search of ldap://ldap.inf.blackphone.ch ou=group,dc=blackphone,dc=ch using (&(objectClass=posixGroup)(memberUid=branson)) for ['cn']
2014-08-19 17:14:06,671 Trac[auth] DEBUG: _dir_search: dir hit, 3 entries.
2014-08-19 17:14:06,675 Trac[auth] DEBUG: username branson has groups @sysadmins, @blackphone, @trac_admin
2014-08-19 17:14:06,676 Trac[api] DEBUG: Checking permission called with: action(TICKET_VIEW),                    username(branson), resource(None), perm(<trac.perm.PermissionCache object at 0x7fd1cf962230>)
2014-08-19 17:14:06,677 Trac[api] DEBUG: Checking permission called with: action(TICKET_CREATE),                    username(branson), resource(None), perm(<trac.perm.PermissionCache object at 0x7fd1cf962230>)
2014-08-19 17:14:06,677 Trac[api] DEBUG: Checking permission called with: action(SEARCH_VIEW),                    username(branson), resource(None), perm(<trac.perm.PermissionCache object at 0x7fd1cf962230>)
2014-08-19 17:14:06,679 Trac[api] DEBUG: Checking permission called with: action(MYPAGE_VIEW),                    username(branson), resource(None), perm(<trac.perm.PermissionCache object at 0x7fd1cf962230>)
2014-08-19 17:14:06,680 Trac[api] DEBUG: Checking permission called with: action(TICKET_ADMIN),                    username(branson), resource(None), perm(<trac.perm.PermissionCache object at 0x7fd1cf962230>)
2014-08-19 17:14:06,680 Trac[api] DEBUG: Checking permission called with: action(ACCTMGR_CONFIG_ADMIN),                    username(branson), resource(None), perm(<trac.perm.PermissionCache object at 0x7fd1cf962230>)
2014-08-19 17:14:06,681 Trac[api] DEBUG: Checking permission called with: action(ACCTMGR_USER_ADMIN),                    username(branson), resource(None), perm(<trac.perm.PermissionCache object at 0x7fd1cf962230>)
2014-08-19 17:14:06,681 Trac[api] DEBUG: Checking permission called with: action(TRAC_ADMIN),                    username(branson), resource(None), perm(<trac.perm.PermissionCache object at 0x7fd1cf962230>)
2014-08-19 17:14:06,682 Trac[api] DEBUG: Checking permission called with: action(PERMISSION_GRANT),                    username(branson), resource(None), perm(<trac.perm.PermissionCache object at 0x7fd1cf962230>)
2014-08-19 17:14:06,682 Trac[api] DEBUG: Checking permission called with: action(THEME_ADMIN),                    username(branson), resource(None), perm(<trac.perm.PermissionCache object at 0x7fd1cf962230>)
2014-08-19 17:14:06,683 Trac[api] DEBUG: Checking permission called with: action(TT_ADMIN),                    username(branson), resource(None), perm(<trac.perm.PermissionCache object at 0x7fd1cf962230>)
2014-08-19 17:14:06,683 Trac[api] DEBUG: Checking permission called with: action(MILESTONE_VIEW),                    username(branson), resource(None), perm(<trac.perm.PermissionCache object at 0x7fd1cf962230>)
2014-08-19 17:14:06,684 Trac[api] DEBUG: Checking permission called with: action(VERSIONCONTROL_ADMIN),                    username(branson), resource(None), perm(<trac.perm.PermissionCache object at 0x7fd1cf962230>)
2014-08-19 17:14:06,684 Trac[api] DEBUG: Checking permission called with: action(BLOG_ADMIN),                    username(branson), resource(<Resource 'blog'>), perm(<trac.perm.PermissionCache object at 0x7fd1cf97b690>)
2014-08-19 17:14:06,686 Trac[api] DEBUG: Checking permission called with: action(REPORT_VIEW),                    username(branson), resource(None), perm(<trac.perm.PermissionCache object at 0x7fd1cf962230>)
2014-08-19 17:14:06,686 Trac[api] DEBUG: Checking permission called with: action(ROADMAP_VIEW),                    username(branson), resource(None), perm(<trac.perm.PermissionCache object at 0x7fd1cf962230>)
2014-08-19 17:14:06,687 Trac[api] DEBUG: Checking permission called with: action(TIMELINE_VIEW),                    username(branson), resource(None), perm(<trac.perm.PermissionCache object at 0x7fd1cf962230>)
2014-08-19 17:14:06,688 Trac[api] DEBUG: Checking permission called with: action(BROWSER_VIEW),                    username(branson), resource(None), perm(<trac.perm.PermissionCache object at 0x7fd1cf962230>)
2014-08-19 17:14:06,690 Trac[api] DEBUG: Checking permission called with: action(WIKI_VIEW),                    username(branson), resource(<Resource 'wiki'>), perm(<trac.perm.PermissionCache object at 0x7fd1cf995050>)
2014-08-19 17:14:06,691 Trac[api] DEBUG: Checking permission called with: action(BLOG_VIEW),                    username(branson), resource(<Resource 'blog'>), perm(<trac.perm.PermissionCache object at 0x7fd1cf98d280>)
2014-08-19 17:14:06,693 Trac[api] DEBUG: Checking permission called with: action(ATTACHMENT_CREATE),                    username(branson), resource(<Resource u'ticket:144, attachment'>), perm(<trac.perm.PermissionCache object at 0x7fd1cf98d280>)
2014-08-19 17:14:06,693 Trac[api] DEBUG: Checking permission called with: action(TICKET_APPEND),                    username(bra

The perms on the directory are fine.. the issue appears to be it's looking for an "ATTACHMENT_CREATE" permission which doesn't exist?

Attachments (0)

Change History (2)

comment:1 Changed 10 years ago by Jun Omae

Resolution: invalid
Status: newclosed

See LegacyAttachmentPolicy in [trac] permission_policies of TracIni.

comment:2 Changed 10 years ago by Jun Omae

That is not a issue of the plugin.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jun Omae.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.