()
| 188 | } |
| 189 | |
| 190 | func (z Object) AnyOrganization() Object { |
| 191 | return Object{ |
| 192 | ID: z.ID, |
| 193 | Owner: z.Owner, |
| 194 | // AnyOrgOwner cannot have an org owner also set. |
| 195 | OrgID: "", |
| 196 | Type: z.Type, |
| 197 | ACLUserList: z.ACLUserList, |
| 198 | ACLGroupList: z.ACLGroupList, |
| 199 | AnyOrgOwner: true, |
| 200 | } |
| 201 | } |
| 202 | |
| 203 | // WithOwner adds an OwnerID to the resource |
| 204 | func (z Object) WithOwner(ownerID string) Object { |
no outgoing calls