Ashley Kitson
Ashley Kitson
@aep It seemed a bit strange to me at first, but if you understand the original use case, it kind makes sense. Here's a function that will range over all...
This and other functions are now available in https://github.com/chippyash/logicgate
We have noticed that not only is the ordering inconsistent, which can make it a mess for people trying to read the yaml files, but the output yaml will also...
@fenollp Any progress on this please?
Sorry Jeremy, closing seems to have locked comments, or it could just by that I'm sitting on a feckin island at the moment with no data connection! so here are...
I can see a problem. You have it in private function getRole($identity = null) of JeremyKendall\Slim\Auth\Middleware\Authorization. As a preface, consider calling IdentityInterface something like RoleAwareInterface. with a getRole() [NB -...
Sorry chap - just seen a network opening - comment posted at github. On 26 December 2014 at 15:30, Jeremy Kendall [email protected] wrote: > Closed #12 https://github.com/jeremykendall/slim-auth/issues/12. > > —...
So, what you have to remember is that you are under no compunction to support an upstream implementation. Your middleware requires the ability to get a role from an identity,...
That last bit : public function getRole() implementation simply reinforces Zend's mistake in letting getIdentity() return anything. You could write if (!$identity instanceof RoleAwareInterface) { throw new \Exception(); } and...
Hi, sorry about delay in response; life etc! > I feel like that should be the responsibility of the authentication adapter Very true and in most situations I'd do the...