Ticket #1566 (closed defect: fixed)

Opened 14 years ago

Last modified 14 years ago

Only Manager can access its mailbox

Reported by: gracinet Owned by: tziade
Priority: P1 Milestone: CPS 3.4.1
Component: CPSMailAccess Version: TRUNK
Severity: critical Keywords: permissions roles
Cc:

Description

Actually, the permissions aren't mapped to roles.

2006-03-18 00:54:21 BLATHER Zope Security Policy Unauthorized: Your user account does not have the required permission.  Access to 'syncProgress.html' of (MailBox at /dev/portal_webmail/box_test5) denied. Your user account, test5, exists at /dev/acl_users. Access requires one of the following roles: ['Manager']. Your roles in this context are ['Anonymous', 'Authenticated', 'Member', 'Owner'].

A proper solution would be to add rolemap.xml to the profile, but this is currently buggy AFAIK and would force to rewrite the whole cps permission mapping.

Another way to solve the problem is to import permissions.py from init.py (good enough for me and works)

Change History

comment:1 Changed 14 years ago by gracinet

  • Status changed from new to closed
  • Resolution set to fixed

FIxed in [34673]

Note: See TracTickets for help on using tickets.