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

Can't enforce some decorators on view #50

Open
christabor opened this issue Sep 30, 2016 · 1 comment
Open

Can't enforce some decorators on view #50

christabor opened this issue Sep 30, 2016 · 1 comment
Labels

Comments

@christabor
Copy link
Owner

There might be a way around this, but there is currently no way to enforce login decorators, etc... since you don't have direct access to the views.

@christabor christabor added the bug label Sep 30, 2016
@christabor
Copy link
Owner Author

The specific use case of having decorator for logging in is probably not a problem in most scenarios:

  1. If used internally, the aversion to accessibility is likely lower.
  2. If used publicly, this problem is irrelevant.

Also, the endpoints themselves can be secured, and there are ACLs that are configurable in the app when this blueprint is registered. Though if the view doesn't load the endpoints, but is still accessible, the user experience is very much less than ideal.

There are still other decorator scenarios that may crop up though, so I'll leave this open for now.

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

No branches or pull requests

1 participant