Ticket #609 (new defect)

Opened 14 years ago

Last modified 10 years ago

buggy behaviors for zope managers

Reported by: tziade Owned by: trac
Priority: P2 Milestone: CPS 3.5.7
Component: CPSDefault Version: unspecified
Severity: minor Keywords: user
Cc:

Description

buggy behaviors for zope manager that are registered in a acl outside the portal

Change History

comment:1 Changed 14 years ago by tziade

Proposal : make some action conditions like "my preferences" look to more things than the "member" condition

ie : add some kind of api that checks if the user does not belong to an outside acl

comment:2 Changed 14 years ago by fguillaume

I'd like to know what the *exact* problems are. What's wrong ? Tracebacks ?

comment:3 Changed 14 years ago by tziade

when you log with an outside manager, some actions are displayed that should'nt

for instance "my preferences"

comment:4 Changed 14 years ago by fguillaume

Yes, checking for Member in the action guard would be a good.

comment:5 Changed 14 years ago by tziade

it is done already, (condition : Member)

but outside managers are considered like members by the CMF

maybe we need to extend the condition lookup in some ways (a portal_membership api ?)

portal_membership.isPortalMember()

Plone for example interacts with "outside manager" without any problem : i am goign to re-check this but i think they just don't have a home folder, calendarsor any portal user thing

comment:6 Changed 14 years ago by fguillaume

but outside managers are considered like members by the CMF

Why?? They should not. It's a bug somewhere, or a config error.

Role "Member" has a specific meaning, and it implies being in the acl_users of the CMF site.

comment:7 Changed 14 years ago by tziade

No, it's more likely to be a weird CMF behavior.

It's the same behavior in Plone, (outside zope manager are considered members) and imo we need to make CPS deal with these special users.

comment:8 Changed 14 years ago by fguillaume

  • Milestone changed from unspecified to CPS 3.5.0

comment:9 Changed 10 years ago by gracinet

  • Severity changed from normal to minor
  • Milestone changed from CPS 3.5.0 to CPS 3.5.2

A currrently working condition: python:member and member.has_role('Member')

Note: See TracTickets for help on using tickets.