• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

jwag956 / flask-security / 285 / 5
97%
master: 97%

Build:
DEFAULT BRANCH: master
Ran 09 Jul 2019 04:43AM UTC
Files 22
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Jul 2019 02:21AM UTC coverage: 97.544% (-0.3%) from 97.805%
REQUIREMENTS=release

push

travis-ci

web-flow
Feature - implement granular Permissions. (#120)

Added support for permissions within a role (standard RBAC).

The RoleMixin provide methods for getting and modifying permissions (which
are stored as a simple comma separated string).

2 new decorators - permissions_required and permissions_accepted can be used to protect
endpoints.

A new method on UserDataStore has_permission() can be used to check if the user
has requested permission if the decorators aren't able to be used.

Permissions are simple strings and not interpreted by Flask-Security at all.

As support for this and additional functionality -introduced the idea of entire model mixins
that set up complete User and Role models for all functionality (and for future new tables).
These models also include some best practice constructs such as update_datetime and username.
These are NOT required, but are an attempt to reduce effort to integrate Flask-Security.

Added an examples/ package and implement a full example of using permissions.

1946 of 1995 relevant lines covered (97.54%)

0.98 hits per line

Source Files on job 285.5 (REQUIREMENTS=release)
  • Tree
  • List 0
  • Changed 6
  • Source Changed 6
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 259
  • Travis Job 285.5
  • 77969912 on github
  • Prev Job for REQUIREMENTS=release on master (#279.5)
  • Next Job for REQUIREMENTS=release on master (#288.5)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc