Page MenuHomePhabricator

Expose Drydock authorizations via Conduit
ClosedPublic

Authored by yelirekim on Sep 24 2016, 6:49 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 19, 5:20 PM
Unknown Object (File)
Sat, Apr 6, 6:22 PM
Unknown Object (File)
Sat, Mar 30, 2:44 AM
Unknown Object (File)
Feb 10 2024, 2:28 AM
Unknown Object (File)
Feb 3 2024, 12:02 PM
Unknown Object (File)
Jan 31 2024, 4:16 PM
Unknown Object (File)
Dec 27 2023, 9:07 AM
Unknown Object (File)
Dec 27 2023, 9:07 AM
Subscribers

Details

Summary

DrydockAuthorizationSearchEngine was being used solely to display authorizations for a specific blueprint from the web UI and consequently expected that callers set a specific blueprint before performing a query. Here we check to see if a blueprint has been set in cases where the engine could be operating from either Conduit or the web.

Ref T11694

Test Plan
  • called the API method from the console
  • approved an authorization
  • followed the "view all" link from a blueprint page

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

yelirekim retitled this revision from to Expose Drydock authorizations via Conduit.
yelirekim updated this object.
yelirekim edited the test plan for this revision. (Show Details)
epriestley added a reviewer: epriestley.
epriestley added inline comments.
src/applications/drydock/query/DrydockAuthorizationSearchEngine.php
59

Unnecessary? What problem does it create if you omit this?

64

Maybe we should think about picking a better name for an authorization's "Object" now that it's becoming more user-facing, but "authorizee" or "grantee" seem kind of terrible, and a generic like "Target" isn't really less overloaded than "Object".

This revision is now accepted and ready to land.Sep 26 2016, 1:49 PM
This revision was automatically updated to reflect the committed changes.