Love Fuel?
Donate
About
Forums
Discussions
Login
FuelPHP Forums
Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
General
Auth has_access with a not logged user, is possible?
heitorfig
December 2013
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.
Harro
December 2013
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.
heitorfig
December 2013
Okay, meanwhile I'll use an override that I made here.
Add a Comment
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Categories
All Discussions
5,088
General
↳ General
3,364
↳ Job Board
13
↳ Installation & Setup
214
Packages
↳ Oil
213
↳ Orm
700
↳ Auth
260
Development
↳ Tips and Tutorials
126
↳ Code share
145
↳ Applications
52
In this Discussion
Harro
December 2013
heitorfig
December 2013