old_contents: from greenmine.base.permissions import BaseDetailPermission
  
  class WikiPageDetailPermission(BaseDetailPermission):
      get_permission = "can_view_wikipage"
      put_permission = "change_wikipage"
      patch_permission = "change_wikipage"
      delete_permission = "can_delete_wikipage"
      safe_methods = ['HEAD', 'OPTIONS']
      path_to_document =  []
  
  class WikiPageAttachmentDetailPermission(BaseDetailPermission):
      get_permission = "can_view_wikipageattachment"
      put_permission = "change_wikipageattachment"
      patch_permission = "change_wikipageattachment"
      delete_permission = "can_delete_wikipageattachment"
      safe_methods = ['HEAD', 'OPTIONS']
      path_to_document =  []
  
new_contents: from greenmine.base.permissions import BaseDetailPermission
  
  class WikiPageDetailPermission(BaseDetailPermission):
      get_permission = "can_view_wikipage"
      put_permission = "change_wikipage"
      patch_permission = "change_wikipage"
      delete_permission = "can_delete_wikipage"
      safe_methods = ['HEAD', 'OPTIONS']
      path_to_project =  ['project']
  
  class WikiPageAttachmentDetailPermission(BaseDetailPermission):
      get_permission = "can_view_wikipageattachment"
      put_permission = "change_wikipageattachment"
      patch_permission = "change_wikipageattachment"
      delete_permission = "can_delete_wikipageattachment"
      safe_methods = ['HEAD', 'OPTIONS']
      path_to_project =  ['project']
  
subject: Add missing path_to_project on wiki permissions.