mirror of
https://github.com/flarum/framework.git
synced 2024-12-12 06:03:39 +08:00
86d890d043
In flarum/core#1854, I changed the implementation of `assertCan()` to be
more aware of the user's log-in status. I came across this when unifying
our API's response status code when actors are not authenticated or not
authorized to do something.
@luceos rightfully had to tweak this again in
|
||
---|---|---|
.. | ||
api | ||
tmp | ||
RetrievesAuthorizedUsers.php | ||
setup.php | ||
TestCase.php |