fix: file permissions
fix: PHP Notice: has_cap

has_cap was called with an argument that is deprecated since
version 2.0! Usage of user levels by plugins and themes is
deprecated. Use roles and capabilities instead.