Skip to main content
15-Moonstone
June 26, 2024
Question

Hide previous revision of WTPart for a specific roles

  • June 26, 2024
  • 1 reply
  • 963 views

Hi,

The use case is customer wants to hide all the previous versions/revisions of WTPart for user allocated to a particular role. i.e. Just latest revision should be visible to user in specific role.

Is there a way we can try to achieve this.

Any reference would be appriciated.

 

Regards,

Durga.

1 reply

HelesicPetr
22-Sapphire II
22-Sapphire II
June 26, 2024

Hi @DKWc 

Yes. Use an another life cycle state where you define the ACL that the specific role can not see them.

If the latest version is released by workflow, set the previous objects to the specific new state.

yes you have to use workflow and some code ,that set the state to previous version. 

Buy it can work. 

PetrH

DKWc15-MoonstoneAuthor
15-Moonstone
June 26, 2024

Hey thanks for reply.

If I get you correct in WF we have to set that previous version gets converted into another state and apply ACL on that state?

HelesicPetr
22-Sapphire II
22-Sapphire II
June 26, 2024

Yes.