Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-18300

Repositories from a deleted account show up in my dashboard/api response

    XMLWordPrintable

Details

    Description

      Hi,

      1. I created a bitbucket.org account with user name - ravibhaiji
      2. I created a repository under it named - ravitest
      3. I gave another user with user name - lake-of-dreams access to this repository
      4. I deactivated the account of - ravibhaiji
      5. But when I log in as user - lake-of-dreams - I still see ravibhaiji/ravitest in https://bitbucket.org/dashboard/overview
      6. When i make an api request for repo permissions - https://bitbucket.org/!api/2.0/user/permissions/repositories?pagelen=100&page=1 - I see the deleted repo still

      "repository": {
      "full_name": "ravibhaiji/ravitest",
      "type": "repository",
      "name": "ravitest",
      "links": {
      "self": {
      "href": "https://bitbucket.org/!api/2.0/repositories/ravibhaiji/ravitest"
      },
      "html": {
      "href": "https://bitbucket.org/ravibhaiji/ravitest"
      },
      "avatar": {
      "href": "https://bytebucket.org/ravatar/%7Bf449910e-e751-421d-8fa5-32207c668358%7D?ts=default"
      }
      },
      "uuid": "

      {f449910e-e751-421d-8fa5-32207c668358}

      "
      },
      "permission": "read"
      }

      Attachments

        Activity

          People

            Unassigned Unassigned
            4bd9f0a018d2 lake-of-dreams
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: