diff --git a/avni-server-api/src/main/java/org/avni/server/service/AvniMetaDataRuleService.java b/avni-server-api/src/main/java/org/avni/server/service/AvniMetaDataRuleService.java index 43f12ddba..585575a29 100644 --- a/avni-server-api/src/main/java/org/avni/server/service/AvniMetaDataRuleService.java +++ b/avni-server-api/src/main/java/org/avni/server/service/AvniMetaDataRuleService.java @@ -17,6 +17,13 @@ public AvniMetaDataRuleService(GroupRoleRepository groupRoleRepository) { this.groupRoleRepository = groupRoleRepository; } + /** + * **IMPORTANT** : The response of this method only indicates whether the SubjectType is ** capable ** of being configured for Direct Assignment. + * It **does not** indicate whether the SubjectType has been configured by the organisation administrators to be directly assignable. + * + * @param subjectType + * @return Boolean value indicating whether the SubjectType is capable of being configured for Direct Assignment. + */ public boolean isDirectAssignmentAllowedFor(SubjectType subjectType) { if (subjectType.isGroup()) return true;