mirror of
https://github.com/flarum/framework.git
synced 2024-12-01 14:20:47 +08:00
d1dfa758e4
Policy application has also been refactored, so that policies return one of `allow`, `deny`, `forceAllow`, `forceDeny`. The result of a set of policies is no longer the first non-null result, but rather the highest priority result (forceDeny > forceAllow > deny > allow, so if a single forceDeny is present, that beats out all other returned results). This removes order in which extensions boot as a factor. |
||
---|---|---|
.. | ||
ApiControllerTest.php | ||
ApiSerializerTest.php | ||
ConsoleTest.php | ||
CsrfTest.php | ||
EventTest.php | ||
FormatterTest.php | ||
MailTest.php | ||
MiddlewareTest.php | ||
ModelTest.php | ||
ModelUrlTest.php | ||
ModelVisibilityTest.php | ||
NotificationTest.php | ||
PolicyTest.php | ||
PostTest.php | ||
RoutesTest.php | ||
ServiceProviderTest.php | ||
SettingsTest.php | ||
ThrottleApiTest.php | ||
UserTest.php | ||
ValidatorTest.php | ||
ViewTest.php |