Forum OpenACS Q&A: How assign forms depents by user

Collapse
Posted by Dayra Munoz on
Hi friends, a have one problem (only one)

I want personalize the applications depents of user.  For Example:

Form A:  Visitor Registration Form. adp
Form B:  Update Visitor.

Users:  Louis Thomas and Michael Smith

Groups types and groups:
Group Type: visitor  and Update
Group: visitor registration, update visitor

A. when Louis log in :mailto:louis@domain.com, he appears the Visitor
registration form.
B.  When Michael log in:  mailto:michael@domain.com, he appears the Update
Visitor form.

1.  I create the users.
2.  I create the groups types.
3.  I create the groups and assign to the group type.  Example:
Gropu type Visitor with visitor registration group.
4.  I try to assign user Luis to the group Visitor registration.  I
said to openacs4
  4.1. "Add Member",
  4.2.  after "Membership relation or User Profile", i selected User
profile
  4.3.  after "select an existing User from the system" and finish i
select the user from the list.  When a press Submit bottom, this is
error:

"We got the following error message while trying to create this
relation:

Database operation "0or1row" failed (exception NSDB, "Query was not a
statement returning rows.")"

Now:

1.  In the point 4.2.  User profile is the correct option?  I
selected the Memebrship relation is nothing appears.

It is correct steps for executed the A and B points.?

Thanks for all.  Give me your help... pleaseeeeeeeeeeee