i want to set permissions for one user to open or close status of projects or tasks
This is what Perm Levels are for:
https://docs.erpnext.com/docs/v13/user/manual/en/setting-up/articles/managing-perm-level
It is a field, though. Try setting the status
field in the Project doctype to Perm Level 1. It should prevent you from changing the project’s status, whether via the field or via the dropdown menu.