Revision 91fc9266 snf-pithos-backend/pithos/backends/modular.py

b/snf-pithos-backend/pithos/backends/modular.py
1367 1367

  
1368 1368
    @debug_method
1369 1369
    @backend_method
1370
    def get_uuid(self, user, uuid):
1370
    def get_uuid(self, user, uuid, check_permissions=True):
1371 1371
        """Return the (account, container, name) for the UUID given."""
1372 1372

  
1373 1373
        info = self.node.latest_uuid(uuid, CLUSTER_NORMAL)
......
1375 1375
            raise NameError
1376 1376
        path, serial = info
1377 1377
        account, container, name = path.split('/', 2)
1378
        self._can_read(user, account, container, name)
1378
        if check_permissions:
1379
            self._can_read(user, account, container, name)
1379 1380
        return (account, container, name)
1380 1381

  
1381 1382
    @debug_method

Also available in: Unified diff