Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,361,405
Community Members
 
Community Events
168
Community Groups

Confiform "field editable by" function not recognizing user

I have a form where multiple people need to edit certain fields at different times in the workflow. 

The initial Requestor should be able to edit their entries while an attester should only be able to edit the Attestation field.

If I use the "Editable only by groups/users" functionality on the Requestor entered fields and set the value to [entry.RequestorName] which is set as [user] at time of creation, the requestor can set the values before hitting submit, but can't edit them later.

I'm sure I'm doing something silly and it's a simple fix, but I just can't see it, so any help is appreciated.

Thanks.

2 answers

Hi Alex,

The user does have full Edit access to the page and space. If the "Editable only by groups/users" parameter isn't set they can edit the fields. But, if the "Editable only by groups/users" parameter isn't set, anyone can edit the fields and we don't want that. 

The problem seems to be that the system isn't recognizing that the person logged in, and attempting to edit, is the same person who created the record. 

sorry, I don’t quite understand. Any simplified example you can provide?

but yes, that is true that if the field is unrestricted then anyone who has enough permissions to edit the record could edit the field value 

Hi Alex,

OK, on the form we have a user type field that grabs the information of the initial person who is filling out the form. This is set with a "Set value if empty" rule to set the field to [user].

This works fine.

Once the form is submitted it goes through a work flow where certain people are supposed to edit certain fields (ex: The manager attests that the user data is accurate). So the Manager should be the only person who can edit the Attest field. This works as we can manually enter the manager's id in the "Editable only by" field.

But, we also need the original user (and only the original user) to be able to edit fields in case the manager finds something wrong. This is the piece that is currently not working. When we put [entry.RequestorName] (the field set in step 1), in the "Editable only by" field, it isn't recognizing that same user as the person logged in when they try to edit their entries.

Hope that clears up the issue.

Not sure who is RequestorName and if that holds a username, but if you want to restrict the edits (to the field) to few persons then set their usernames as comma separated list in the "Editable only by" parameter

and yes, you can reference another field's value in that parameter via [entry.field_name] notation

Hi

In ConfiForms when you step on restricting certain fields for editing a user must have general edit permissions on the record. Do they have permissions to edit the record? 

Either both are set as owners of the record or may be set as form super users (or even admins)

By setting the "Editable only by groups/users" parameter on fields you can narrow this further and restrict certain fields to be editable by the users or user groups you set

Alex

Hi Alex,

Sorry, entered this as a separate answer rather than a reply to your answer.

The user does have full Edit access to the page and space. If the "Editable only by groups/users" parameter isn't set they can edit the fields. But, if the "Editable only by groups/users" parameter isn't set, anyone can edit the fields and we don't want that. 

The problem seems to be that the system isn't recognizing that the person logged in, and attempting to edit, is the same person who created the record. 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

Watch 4 Confluence apps compete for Best App Demo in September's Appy Hours

Calling all collaborators! Appy Hours on the Atlassian Community is a monthly event where 4 Partner and app vendor presenters go head-to-head with 5-minute demos for the title of Best App Demo. I...

588 views 0 13
Read article

Atlassian Community Events