Page MenuHomePhabricator

Remove the "grant authority" mechanism from users
ClosedPublic

Authored by epriestley on Aug 30 2019, 4:15 PM.
Tags
None
Referenced Files
F13268238: D20754.diff
Wed, May 29, 4:49 AM
F13251983: D20754.diff
Sat, May 25, 12:57 AM
F13249232: D20754.id.diff
Fri, May 24, 7:49 AM
F13201728: D20754.diff
Tue, May 14, 3:20 PM
Unknown Object (File)
Sun, May 5, 5:18 AM
Unknown Object (File)
May 3 2024, 5:24 AM
Unknown Object (File)
May 2 2024, 9:57 PM
Unknown Object (File)
Apr 27 2024, 12:44 PM
Subscribers
None

Details

Summary

Ref T13393. See some previous discussion in T13366.

Caching is hard and all approaches here have downsides, but the request cache likely has fewer practical downsides for this kind of policy check than other approaches. In particular, the grant approach (at least, as previously used in Phortune) has a major downside that "Query" classes can no longer fully enforce policies.

Since Phortune no longer depends on grants and they've now been removed from instances, drop the mechanism completely.

Test Plan

Grepped for callsites, found none.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Aug 30 2019, 4:26 PM
This revision was automatically updated to reflect the committed changes.