(ownerId)
| 855 | } |
| 856 | |
| 857 | function makeObjectMD(ownerId) { |
| 858 | return { |
| 859 | 'owner-id': ownerId, |
| 860 | acl: { |
| 861 | Canned: '', |
| 862 | FULL_CONTROL: [], |
| 863 | READ: [], |
| 864 | READ_ACP: [], |
| 865 | WRITE: [], |
| 866 | WRITE_ACP: [], |
| 867 | }, |
| 868 | }; |
| 869 | } |
| 870 | |
| 871 | it('should not set aclRequired when requester is object owner', () => { |
| 872 | const request = makeRequest(); |