webservice glob is an admin user

Bug #362032 reported by Tim Penhey
20
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

The default webservice user in testing/pages.py is an admin user, which sometimes hides real issues.

We should not use this.

Tim Penhey (thumper)
visibility: public → private
Revision history for this message
Diogo Matsubara (matsubara) wrote :

There are webservice, public_webservice and user_webservice available in test.globs. Perhaps it should be renamed to admin_webservice to be more clear?

Also, can you elaborate which issue was hidden by using the default webservice?

description: updated
tags: added: test-system
affects: launchpad → launchpad-foundations
Changed in launchpad-foundations:
status: New → Incomplete
Revision history for this message
Tim Penhey (thumper) wrote : Re: [Bug 362032] Re: webservice glob is an admin user

On Fri, 17 Apr 2009 14:01:16 Diogo Matsubara wrote:
> There are webservice, public_webservice and user_webservice available in
> test.globs. Perhaps it should be renamed to admin_webservice to be more
> clear?
>
> Also, can you elaborate which issue was hidden by using the default
> webservice?

Primarily access rights to things.

I added a method in the pagetest globs called webservice_for_person
that is able to create a webservice object for any person object, like one
created from the factory object.

I had raised this in the reviewer meeting, and just wanted to make people more
aware.

tags: added: cleanup
Changed in launchpad-foundations:
importance: Undecided → Low
status: Incomplete → Triaged
visibility: private → public
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.