Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Permission Checking in Each Get and Post
  • 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
  • HarroHarro
    Accepted Answer
    Use the router() method is a base controller.

Howdy, Stranger!

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

In this Discussion