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 |
What does valet park and link command do?
What is dependency injection laravel?
Explain collections in laravel.
What is controller in laravel?
What is the difference between namespace and use in laravel?
what is implementation measures in CSRF Protection ?
How can we implement a package in laravel?
Is laravel easier than php?
What do you mean by make() method?
What is valet used in laravel 5?
Please explain the difference between laravel and codeigniter?
How to stop mysql on valet?