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

Added a verb to enable the browser devtools on 516 #20427

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

FluffyGhoster
Copy link
Contributor

Added a verb to enable the browser devtools on 516

@FluffyGhoster
Copy link
Contributor Author

!review

/**
* Enable Edge Dev Tools
*/
/client/proc/allow_browser_inspect()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The proc itself should also contain a permissions check

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Scrolling up from the proc, there's various other procs (some I wrote, some I didn't) like this, that's because the only way to access the proc is by it being assigned to you, which seems sufficient (?)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be sufficient but from a security perspective it is better to also check for proper permissions on the actual proc.

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

Successfully merging this pull request may close these issues.

3 participants