1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-02 11:42:42 +01:00
phorge-phorge/src/applications/people
epriestley 533a5535b6 Remove the "grant authority" mechanism from users
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.

Maniphest Tasks: T13393

Differential Revision: https://secure.phabricator.com/D20754
2019-08-30 09:26:08 -07:00
..
application Provide a basic detail view for user activity logs 2019-07-24 07:14:07 -07:00
cache Reduce the cost of generating default user profile images 2018-03-01 16:53:17 -08:00
capability Add a "Can Disable Users" capability to the "People" application 2018-08-27 08:01:27 -07:00
conduit Deprecate "user.enable" and "user.disable" API methods, redefine them in terms of "user.edit" 2018-08-27 08:00:48 -07:00
config Move "wild" config types to new code 2017-06-27 12:34:56 -07:00
controller Convert "Empower" from state-based MFA to one-shot MFA 2019-08-22 08:34:46 -07:00
customfield Hide "Availability" and "Calendar" on user profiles for disabled users 2019-03-28 17:24:35 -07:00
editor Modularize user activity log message types 2019-07-24 07:10:18 -07:00
engine Add Revisions to User Profiles 2017-05-21 09:24:37 -07:00
engineextension Add an "availaiblity" attachment for user.search 2018-12-09 16:41:12 -08:00
garbagecollector Provide bin/garbage for interacting with garbage collection 2015-10-02 09:17:24 -07:00
guidance Add a bunch of Phacility-specific code to the upstream, thinly veiled as generic code 2016-11-15 09:11:22 -08:00
icon Add additional icons for User Profiles 2016-01-31 20:09:06 +00:00
lipsum Make bin/lipsum generate hanldle generator keys and arguments more clearly 2017-02-27 09:09:28 -08:00
mail Record account recovery email links in the user activity log and make the mail message reference the log 2019-07-24 07:13:34 -07:00
management Replace "bin/people profileimage" with "bin/user enable|empower" 2019-08-20 17:51:14 -07:00
markup Fix spelling 2017-10-09 10:48:04 -07:00
menuitem Update all existing ProfileMenuItems for the more-structured API 2019-04-02 15:20:39 -07:00
phid Add Editor-based mail stamps: actor, via, silent, encrypted, new, mention, self-actor, self-mention 2018-02-06 04:04:52 -08:00
policyrule Move some files around 2015-11-17 06:26:13 +11:00
query Provide a basic detail view for user activity logs 2019-07-24 07:14:07 -07:00
search Reduce the amount of boilerplate that implementing FerretInterface requires 2017-09-07 13:23:31 -07:00
searchfield Add basic typechecking support to Conduit 2015-12-14 04:21:39 -08:00
storage Remove the "grant authority" mechanism from users 2019-08-30 09:26:08 -07:00
typeahead Give user log types a tokenizer and datasource instead of a page of checkboxes 2019-07-24 07:11:42 -07:00
userlog Record account recovery email links in the user activity log and make the mail message reference the log 2019-07-24 07:13:34 -07:00
view Provide a basic detail view for user activity logs 2019-07-24 07:14:07 -07:00
xaction Convert "Empower" from state-based MFA to one-shot MFA 2019-08-22 08:34:46 -07:00