def METHOD_NAME(self):
    regular_user = self.user_factory.create()
    self.assertTrue(regular_user.has_perm(self.get_perm_str("add")))
    self.assertFalse(
        regular_user.has_perm(
            self.get_perm_str("change"), obj=self.codebase_release
        )
    )
    self.assertFalse(
        regular_user.has_perm(
            self.get_perm_str("delete"), obj=self.codebase_release
        )
    )
    self.assertFalse(
        regular_user.has_perm(self.get_perm_str("view"), obj=self.codebase_release)
    )
    self.codebase_release.live = True
    self.codebase_release.save()
    self.assertTrue(
        regular_user.has_perm(self.get_perm_str("view"), obj=self.codebase_release)
    )