Added method has_permission, which can be overriden