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

Define minimal authorization policy #167

Open
mcovalt opened this issue Oct 28, 2021 · 0 comments
Open

Define minimal authorization policy #167

mcovalt opened this issue Oct 28, 2021 · 0 comments

Comments

@mcovalt
Copy link

mcovalt commented Oct 28, 2021

Currently, views routed by Girder 4 are public unless explicitly protected by some authorization checks. This issue is a proposal to add some friction to the development process so that public views are discouraged in favor of views protected by some minimal policy.

One possible minimal policy is to require users be logged in to interact with the views. The friction could be provided by using the Django system check framework to introspect the application's URLconf and issue a warning if it encounters any of the following:

This is not intended to define an authorization policy for all applications. Rather, it is intended to initialize applications with a slightly more conservative authorization policy rather than having none at all.

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

No branches or pull requests

1 participant