Skip to main content
14-Alexandrite
January 20, 2022
Question

Editing the edit layout and Split the edit layout into two

  • January 20, 2022
  • 1 reply
  • 815 views

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?

1 reply

18-Opal
January 20, 2022

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