I was getting the message "You're not allowed to create this type of attachment.", even though I had set it up to allow me to create that type of attachment. I found that it was because the code was treating the drupal variable 'relativity_type_some_type' as a list of allowed parents, rather than allowed children.

The fix is easy, and is included below.

CommentFileSizeAuthor
relativity_fix_parents.patch699 byteswrunt

Comments

owahab’s picture

Priority: Normal » Critical
Status: Needs review » Reviewed & tested by the community

I don't know if darius will accept patches to 5.x-2.x-dev or not but this patch is critical IMHO.

darius’s picture

Status: Reviewed & tested by the community » Fixed

In HEAD and 5.2-dev. Thanks.

owahab’s picture

Status: Fixed » Closed (fixed)