mirror of
https://github.com/flarum/framework.git
synced 2024-11-30 13:36:10 +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. |
||
---|---|---|
.. | ||
api | ||
extenders | ||
tmp | ||
BuildsHttpRequests.php | ||
ConsoleTestCase.php | ||
RetrievesAuthorizedUsers.php | ||
setup.php | ||
TestCase.php |