Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
I have a problem report. I want users to be able to edit some attributes on a state basis and not be able to edit some attributes.
How can I do that. Is it possible to make 2 different "edit" buttons? Can I restrict users' edit privileges on both attribute and state basis?
Hi, @OnurNalbantoglu
This is doable but not OOTB
One way to do this is to make your own custom "Edit Attributes" action that allows the user to edit the attributes the users typically would not be able to edit at the state in question.
For example, let's say at state "In Work" they can edit any attribute but at state "Under Review" they are allowed to edit only attributes A, B and C.
The custom action would check the object's state. If the state is Under Review a page opens that allows the users to edit attributes values for attributes A, B, and C.
This edit can be done either by iterating the object (checkout/edit/checkin) or not. Your call on that.
I don’t think the code to do this would be a problem to write. Should be straight forward.
David