flask-principal icon indicating copy to clipboard operation
flask-principal copied to clipboard

Identity management for Flask applications

Results 44 flask-principal issues
Sort by recently updated
recently updated
newest added

To help packaging, especially legal review, it would be nice to have the LICENSE file included in pypi distribution.

Hi, we use flask-principal in a small application with blueprints. Authentication has its own blueprint. Apparently at random we have errors like the one below. Did you know that behavior?...

For tools like caniusepython3.com it would be neat if you'd add classifiers to your python package so we can check if there is python 3 support.

The flask-login example in the documentation is extremely helpful (common use case, I would think) but it has a significant bug in it! The sample code shows Flask-Principal being registered...

Considering the hypothetical example in the current documentation for granular resource protection, what if a user has hundreds, even thousands of posts or some other sort of attribute. Perhaps adding...

enhancement

Correct the operator terms to match what one might expect if they were working with permission objects as an encapsulation of sets of roles. Test cases enclosed to demonstrate how...

Master is still tagged with version `0.3.5`. This branch merged the tip `0.4.0` with master to reflect the changes

Instead of writing a full login form example, it would be much simpler and more general to integrate the two using [Flask-Login's signals](https://flask-login.readthedocs.org/en/latest/#signals). It has signals for users logging in...

This ``` def test_and_permissions_view(self): self.assertRaises(PermissionDenied, self.client.open, '/g') ``` should be ``` def test_and_permissions_view(self): self.assertRaises(PermissionDenied, self.client.open, '/h') ``` As it stands /h is never tested.