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
Permission Checking in Each Get and Post
ashizakp
November 2016
Dear
MAJOR portion of my app is Rest.
So is there any way to check permission for certain user in each get post controller method.
Currently i am using auth::has_permission.
I think I want to past it in every methods.. any easy way
Harro
November 2016
Accepted Answer
Use the router() method is a base controller.
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
November 2016