Skip to main content

Python implementation of Structured Scopes

Project description

Structured Scopes

View the documentation to learn more.

Abstract

This is an abstract specification for the use of structured scopes in permission granting utilities.

Introduction

The goal of this endeavor is to standardize and define the meaning, and usage of "scopes" for implementation in an authorization utility. It is licensed under the CC0 1.0 Universal (CC0 1.0) Public Domain Dedication All other copyrights and other rights, if any, are hereby reserved.

Purpose

The purpose of "scoping" is to provide a pass/fail response to a request for permission on a defined resource to authorized clients having the requisite permission level. A common application would be for permissioning on protected resources, for example, on web requests.

Install

pip install sscopes

Brief

Examples in brief:

Base:       user
Inbound:    foobar
Result:     fail


Base:       user
Inbound:    user
Result:     pass


Base:       user:write
Inbound:    user
Result:     pass


Base:       user:write
Inbound:    user:read
Result:     fail

See more examples

Implementations

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sscopes-0.2.0.tar.gz (11.7 kB view hashes)

Uploaded Source

Built Distribution

sscopes-0.2.0-py3-none-any.whl (5.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page