Fix permissions and allow access check with type name only.