code: func (auup *AuthUserUserPermission) AuthPermission(db XODB) (*AuthPermission, error) {
  	return AuthPermissionByID(db, auup.PermissionID)
  }
docs: // AuthPermission returns the AuthPermission associated with the AuthUserUserPermission's PermissionID (permission_id).
  //
  // Generated from foreign key 'd86aa2ae91c20ae0c7ed11fa07e6da'.