1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-23 21:18:19 +01:00
phorge-phorge/src/applications/policy
epriestley f0dc065290 Lift bulk tests for "many users against one object" capabilities into "PolicyFilterSet"
Summary:
Ref T13602. Currently, the policy framework can not execute "test if many users can see one object" particluarly efficiently. This test must be executed more broadly to implement the changes in T13602.

To avoid making this any worse than it already is, lift this block into a wrapper class that has a bulk queue + fetch API and could eventually be optimized.

Test Plan: Viewed a task with an `@mention` of a user without permission to see it in the summary, saw it rendered in a disabled style.

Maniphest Tasks: T13602

Differential Revision: https://secure.phabricator.com/D21546
2021-02-13 13:37:35 -08:00
..
__tests__ Remove empty implementations of describeAutomaticCapabilities() 2016-11-09 15:24:22 -08:00
application Allow different policy rules for different types of objects 2015-06-13 15:44:03 -07:00
capability Make "Can Interact" and logged-out users interact more gracefully 2017-03-09 08:50:57 -08:00
codex Remove "stronger/weaker" policy color hints from object headers 2019-11-18 22:05:26 -08:00
config Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
constants Remove "stronger/weaker" policy color hints from object headers 2019-11-18 22:05:26 -08:00
controller Remove "stronger/weaker" policy color hints from object headers 2019-11-18 22:05:26 -08:00
editor Allow task statuses to specify that either "comments" or "edits" are "locked" 2019-02-15 19:18:40 -08:00
engineextension Allow *.search Conduit API methods to have data bulk-loaded by extensions 2016-07-31 11:15:18 -07:00
exception Modernize OAuthserver and provide more context on "no permission" exception 2015-09-03 10:05:23 -07:00
filter Lift bulk tests for "many users against one object" capabilities into "PolicyFilterSet" 2021-02-13 13:37:35 -08:00
interface Require several advanced postgraduate degrees to understand object policies 2016-11-09 15:05:38 -08:00
management Improve help for "bin/policy unlock" to make it explicit that you can name objects with a PHID 2021-02-01 09:13:16 -08:00
phid Mark PhabricatorPHIDType::getPHIDTypeApplicationClass() as abstract 2015-11-03 06:47:12 +11:00
query Give policy name rendering explicit "text name", "capability link", and "transaction link" pathways 2019-09-12 09:39:05 -07:00
rule Fix flaky subscribers policy rule unit test 2016-12-11 12:27:57 -08:00
storage Fix additional "xprintf()"-class static parameter lint errors 2020-09-08 11:45:48 -07:00
view Inline custom policy rules inside policy capability explanation dialogs 2019-09-12 09:40:50 -07:00