Added test coverage to control access to different types of content depending on user role and content publishing status.
Two types of tests have been added, those that depend on the moderation_state and other simpler ones that check the status (published and draft).
This functionality has been deleted of the other tests to avoid duplication.
Added test coverage to control access to different types of content depending on user role and content publishing status. Two types of tests have been added, those that depend on the moderation_state and other simpler ones that check the status (published and draft). This functionality has been deleted of the other tests to avoid duplication.