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
Metadata
Release files for sscopes 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sscopes-0.2.0.tar.gz | 11.7 kB | Without provenance | Details for sscopes-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sscopes-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for sscopes-0.2.0-py3-none-any.whl |
Total release size: 16.9 kB
Release files / sscopes-0.2.0.tar.gz
| Download URL | sscopes-0.2.0.tar.gz |
|---|---|
| Size | 11.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0b373a8cd6dcffdc5cd159a7941210369b218bd2541550318d74e1fc1b5288b0
|
|
BLAKE2b-256 checksum How to use checksums |
19a5ca6351e061625450d8efa753a0badb501bbfb60cfb4f8e279b263767e943
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
|
Release files / sscopes-0.2.0-py3-none-any.whl
| Download URL | sscopes-0.2.0-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
79d24b2ab441ba7a1709d21f71a699e4698c04e5010e241fdc57260e921372f1
|
|
BLAKE2b-256 checksum How to use checksums |
a780fcf8350a360c55ea6390552a7d553cd3879f57a1ffa4abd7cd658a1b1bf6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
|
Security for sscopes 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.