PRX / cms.prx.org

CMS API for PRX
https://cms.prx.org
GNU Affero General Public License v3.0
4 stars 2 forks source link

Convert permission checking to use token scopes #566

Closed cqr closed 4 years ago

cqr commented 4 years ago

Modify Policy classes to check for narrow scopes instead of (a) general membership or (b) role-level abilities. Tokens are distinct from profiles and may not include all of the permissions implied by a given role.