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

Standard User is able to Create Oauth Clients and Access Tokens #55

Closed
krebbi opened this issue Jan 19, 2022 · 2 comments
Closed

Standard User is able to Create Oauth Clients and Access Tokens #55

krebbi opened this issue Jan 19, 2022 · 2 comments

Comments

@krebbi
Copy link
Contributor

krebbi commented Jan 19, 2022

A Standard User is able to open /settings/developer and create OAuth clients as well as Personal Access Tokens.
He can also visit all /other settings pages, but don't get any further information.

The Routes to /settings (admin area) do need some protection.

@John94php
Copy link

maybe via Gate or middleware

@John94php
Copy link

e.g

        if (!Gate::allows('isAdmin')) {
            return $this->unauthorizedResponse();
        }

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

3 participants