Miguel Sánchez Beato wrote:
[EMAIL PROTECTED] escribió:
Hello,
I'm dealing with a META directory for the users of my portal (CPS
3.4.4) that takes the fields from two backing directories:
SQL directory schema (MySQL stores user info)
ZODB (roles and groups).
I've enabled joining the portal.
When I join the portal, the user i've created is in all the
directories correctly. When I try to login with that user, the portal
doesn't show any error, but neither let me enter to the portal.
This only happens when I try to join from anonymous, because the
portal asign 'Member' role.
If I create a Manager user, he can enter the web correctly.
Anyone knows why?
It could happen that a user has no permissions to "see" its own
resources (is not the owner of its own edirectory entry) when get
access to the portal.
When you use Meta and backing directories, you have to specify the
assingment of the role Owner for the directory entry that is needed
when a user login the portal.
In each directory (meta and backing), in the tab "Entry Local Roles":
- create a new role "Owner" and write as "python: entry.get('id') ==
user_id" as condition
- 'id' needs to be the identity field for the entries
That line was setted correctly but I get the behavior like you say.
I've traced 'logged_in' and I've obtained next results:
to_workspaces = False
to_member_home = False
redirect_to_portal = False
redirect_url = http://localhost:8080/btil/logged_in
is_anon = 0
member = <CPSMemberData at ... used for /btil/acl_users>
It means that the user is created correctly and login correctly, but it
cannot access the information, like you say... do you know any other
problem that may cause this behavior ?
This will assign to the directory entry the role "Owner" for the
corresponding user.
Hope this will work for you!
_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel
--
Daniel Téllez Sabán.
Yerbabuena Software. Dpto I+D.
[EMAIL PROTECTED]
http://www.yerbabuena.es
Tlf/Fax: 902 995 246 Móvil: 615 051 283
_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel