Problem with author field

Hi, First I’ll explain what I want.

I want an user to create and edit only one specific form.

The user is an author in the acl.

I’ve created 2 forms with author fields on it

On the form which he can edit it’s filled whith his name on the other form he isn’t in the author field.

This works fine for editing existing documents, but I also want that he can create new documents with this form, if I give him also rights to create new documents in the acl, it’s also possible he create documents with both forms.

How can I solve this. Do I’ve to use roles?

Thanks

rgds,

Rudy

Subject: Problem with author field

In the final tab on the form properties you can set the users and roles that can create documents with that form.

Personally I’d assign a role for each form and give that role to users as required

Subject: RE: Problem with author field

if you realy want that by form1 one can create & from form2 he can not then you also can use form access list in form property last tab. set his role in form1 to create & in form2 set it to not create.

if you also not want him not to see the doc.s created by form2 then use reader field in forms

without his name in it.

Subject: Problem with author field

Create a role in the ACL and assign it to the user . Use hide-when in the action button used to compose the forms, i.e.

Put the following in the button hide when ( which is used to compose the form he CAN CREATE )

!@IsMember(“[ADMIN]”;@UserRoles)

Put the following in the button hide when ( which is used to compose the form he CANNOT CREATE )

@IsMember(“[ADMIN]”;@UserRoles)

replace ADMIN with the role name you just created.

cheers !!

Ashish

Subject: RE: Problem with author field

valid point, but not actually a secure method - it is possible for a user with a bit of knowledge to circumvent it. For example, if the form is set to appear in the Create menu, the user could go in that way. Also, it’s a maintenance overhead if new views are added, and if it’s done by a different developer, then they may not realise that the restrictions are required.

However - the button hiding should definitely be used in conjuction with the form security settings. I’d forgotten about this part of it…

Kiers