Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration with Laravel Telescope Gates #535

Open
moiz-conceptlz opened this issue Jul 6, 2020 · 0 comments
Open

Integration with Laravel Telescope Gates #535

moiz-conceptlz opened this issue Jul 6, 2020 · 0 comments

Comments

@moiz-conceptlz
Copy link

moiz-conceptlz commented Jul 6, 2020

Laravel introduced Telescope which is a handy tool to view logs and events in a great dashboard interface. Telescope has the ability to lock access to these dashboards via Gates - as described on https://laravel.com/docs/6.x/telescope#dashboard-authorization

Essentially, the gate function can return a true or false if a particular user in session can have access to the dashboard.

However, with Sentinal at the Auth for Laravel, the Gate method does not work.

How can Sentinal be part of the Laravel Telescope?

Describe the example code and where do changes need to be applied to get Sentinal to work with Laravel Telescope.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant