Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What are the Writing Gates and Policies ?



What are the Writing Gates and Policies ?..

Answer / surbhi

Gates are used to determine if a user is authorized to perform a specified action.
They are typically defined in App/Providers/AuthServiceProvider.php using Gate facade.
Gates are also functions which are declared for performing authorization mechanism.

Policies are declared within an array and are used within classes and methods which use authorization mechanism.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Laravel PHP Framework Interview Questions

Name databases supported by laravel.

0 Answers  


How to get JSON Response on Laravel ?

1 Answers  


Explain elixir in laravel?

0 Answers  


How to use update query in laravel?

0 Answers  


Explain dependency injection and their types.

0 Answers  


What is seeding in laravel?

0 Answers  


What is csrf_field () in laravel?

0 Answers  


Differce between contracts and facades?

0 Answers  


How do I seed my database for column that is a foreign key referencing to other table?

0 Answers  


Tell me how would you add a 3rd party package like sentry?

0 Answers  


What is laravel model?

0 Answers  


Explain me how to assign multiple middleware to laravel route ?

0 Answers  


Categories