Page MenuHomePhabricator

When users encounter a policy exception for a non-view capability with a custom policy, inline the policy rules
ClosedPublic

Authored by epriestley on Sep 12 2019, 4:30 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 13, 2:20 AM
Unknown Object (File)
Sat, Nov 9, 3:45 PM
Unknown Object (File)
Oct 20 2024, 9:54 AM
Unknown Object (File)
Oct 19 2024, 5:59 AM
Unknown Object (File)
Oct 14 2024, 10:27 PM
Unknown Object (File)
Oct 14 2024, 3:24 AM
Unknown Object (File)
Sep 30 2024, 5:31 PM
Unknown Object (File)
Sep 21 2024, 7:30 AM
Subscribers
None

Details

Summary

Fixes T13411. This looks like the last case where you hit a policy explanation and have permission to see the policy, but we don't currently show you the policy rules.

This implementation is slightly clumsy, but likely harmless.

Test Plan

Screen Shot 2019-09-12 at 9.28.22 AM.png (1×2 px, 357 KB)

Diff Detail

Repository
rP Phabricator
Branch
policy7
Lint
Lint Passed
SeverityLocationCodeMessage
Advicesrc/applications/policy/filter/PhabricatorPolicyFilter.php:656XHP16TODO Comment
Unit
Tests Passed
Build Status
Buildable 23428
Build 32190: Run Core Tests
Build 32189: arc lint + arc unit