Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Auth has_access with a not logged user, is possible?
  • I would like to know if is possible to use, someway, the method Auth::has_access() to check the permissions of an other user, not the logged user.
  • HarroHarro
    Accepted Answer
    No, that is not implemented at the moment, and very difficult to do due to the static nature of the classes.

    It is a design requirement for v2 though (we're working on Auth at the moment), where you can create multiple auth instances.
  • Okay, meanwhile I'll use an override that I made here.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion