diff --git a/src/views/AccessControl/Ldap/ModalAddRoleGroup.vue b/src/views/AccessControl/Ldap/ModalAddRoleGroup.vue
index b9b1f5a..b485ead 100644
--- a/src/views/AccessControl/Ldap/ModalAddRoleGroup.vue
+++ b/src/views/AccessControl/Ldap/ModalAddRoleGroup.vue
@@ -92,8 +92,8 @@
       validator: (prop) => {
         if (prop === null) return true;
         return (
-          prop.hasOwnProperty('groupName') &&
-          prop.hasOwnProperty('groupPrivilege')
+          Object.prototype.hasOwnProperty.call(prop, 'groupName') &&
+          Object.prototype.hasOwnProperty.call(prop, 'groupPrivilege')
         );
       },
     },
