Restricts the user from editing assets in the Published state

Added a validation to prevent users from editing assets when in the Published state