Edit and delete permissions pages and posts

Does anybody know if it is possible to protects some pages and posts from editing / deleting unless if the role is admin?

Not all posts and pages has to be protected against this!

I can not read something about this in the documentation of roles and capabillities.

Hope somebody can help me out with this.

Topic user-roles capabilities php pages posts Wordpress

Category Web

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.