Opened 5 years ago

Closed 5 years ago

#454 closed Bug (fixed)

Internal API incorrect results

Reported by: a2b Owned by:
Priority: normal Milestone: RobotRock
Component: Core Keywords:
Cc: Sensitive:

Description

I am using SitesManager.getSitesWithAtLeastViewAccess and I found that if I use the master API token_auth I can get all the sites info. I am trying to send the users token_auth so that it will return just their sites. I found that using the internal API method and using the users token_auth I get an empty result. If I take the same query and put it into the browser it outputs the sites correctly.

Not sure how broad this issue is yet.

index.php?module=API&method=SitesManager.getSitesWithAtLeastViewAccess&format=PHP&token_auth=USER-TOKEN-HERE

Tested on svn build #823

Change History (7)

comment:1 Changed 5 years ago by vipsoft (robocoder)

  • Milestone set to RobotRock

comment:2 Changed 5 years ago by vipsoft (robocoder)

Can you re-test with 0.2.28?

comment:4 Changed 5 years ago by vipsoft (robocoder)

Confirmed in 0.2.28.

comment:5 Changed 5 years ago by a2b

Yes, it appears to still be an issue in 0.2.28

comment:6 Changed 5 years ago by vipsoft (robocoder)

  • Milestone changed from RobotRock to DigitalVibes

comment:7 Changed 5 years ago by matt (mattab)

  • Milestone changed from DigitalVibes to RobotRock

comment:8 Changed 5 years ago by matt (mattab)

  • Resolution set to fixed
  • Status changed from new to closed

fixed in [942]

Note: See TracTickets for help on using tickets.