Ticket #1560 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Non-Member users cannot log in

Reported by: ogrisel Assigned to: ogrisel
Priority: P2 Milestone: CPS 3.4.1
Component: CPSDefault Version: TRUNK
Severity: normal Keywords:
Cc:

Description

The login page displays no error, they just get redirected on the login form forever (Unauthorized is probably raised for some reason: need a pdb session to dig that in).

Change History

03/16/06 19:53:58 changed by jmorliaguet

FYI, we have a similar LDAP setup as the one in CPSLDAPSetup.

users must be members, not to be able to login, but:

- to see whether they have the right to view entries in the 'members' directory

- to edit entries

the exception is raised in logged_in.py:

if first_time and dtool.members.hasEntry(member.getId()):
    mtool.createMemberArea()
    now = context.ZopeTime()
    member.setProperties(last_login_time=now, login_time=now)

members do not seem to even have the 'owner' role when they log in.

the "entry local role" defined as 'python:entry.get('uid') == user_id' seems to have no effect.

also, I have renamed 'cpsRoles' and 'cpsGroups' as 'roles' and 'groups' since CPSUserFolder was complaining that users had no 'roles' and 'groups' entries.

03/23/06 18:03:38 changed by ogrisel

  • owner changed from gracinet to ogrisel.
  • component changed from CPSLDAPSetup to CPSDefault.

03/23/06 18:47:19 changed by ogrisel

  • status changed from new to closed.
  • resolution set to fixed.

fixed in [34693]