Fixed procedure typo

_rdf_checkpermission -> _checkpermission