{"id":16868727,"url":"https://github.com/ahopkins/structured-scopes","last_synced_at":"2025-07-01T11:07:13.012Z","repository":{"id":87629493,"uuid":"131219376","full_name":"ahopkins/structured-scopes","owner":"ahopkins","description":"Abstract specification for the use of structured scopes in permission granting utilities.","archived":false,"fork":false,"pushed_at":"2019-04-30T20:38:19.000Z","size":571,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-11T11:33:10.771Z","etag":null,"topics":["authorization","permissions","scopes","structured-scopes"],"latest_commit_sha":null,"homepage":"https://ahopkins.github.io/structured-scopes/","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ahopkins.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-26T23:02:43.000Z","updated_at":"2019-04-30T20:38:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"759c3aee-e542-4925-83f7-ad80a3a29fe8","html_url":"https://github.com/ahopkins/structured-scopes","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ahopkins/structured-scopes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahopkins%2Fstructured-scopes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahopkins%2Fstructured-scopes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahopkins%2Fstructured-scopes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahopkins%2Fstructured-scopes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ahopkins","download_url":"https://codeload.github.com/ahopkins/structured-scopes/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahopkins%2Fstructured-scopes/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262950348,"owners_count":23389643,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["authorization","permissions","scopes","structured-scopes"],"created_at":"2024-10-13T14:59:15.288Z","updated_at":"2025-07-01T11:07:12.996Z","avatar_url":"https://github.com/ahopkins.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Structured Scopes\n\n[View the documentation](https://ahopkins.github.io/structured-scopes/) to learn more.\n\n## Abstract\n\nThis is an abstract specification for the use of structured scopes in permission granting utilities.\n\n## Introduction\n\nThe goal of this endeavor is to standardize and define the meaning, and usage of \"scopes\" for implementation in an authorization utility. It is [licensed](https://github.com/ahopkins/structured-scopes/blob/master/LICENSE) under the [CC0 1.0 Universal (CC0 1.0)\nPublic Domain Dedication](https://creativecommons.org/publicdomain/zero/1.0/) All other copyrights and other rights, if any, are hereby reserved.\n\n## Purpose\n\nThe 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.\n\n## Brief\n\nExamples in brief:\n\n```\nBase:       user\nInbound:    foobar\nResult:     fail\n\n\nBase:       user\nInbound:    user\nResult:     pass\n\n\nBase:       user:write\nInbound:    user\nResult:     pass\n\n\nBase:       user:write\nInbound:    user:read\nResult:     fail\n```\n\nSee [more examples](https://ahopkins.github.io/structured-scopes/examples/)\n\n\n## Implementations\n\n- Python - [source](https://github.com/ahopkins/sscopes-python) | [docs](https://ahopkins.github.io/structured-scopes/implementations/)\n- Javascript - [source](https://github.com/ahopkins/sscopes-javascript) | [docs](https://ahopkins.github.io/structured-scopes/implementations/)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahopkins%2Fstructured-scopes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahopkins%2Fstructured-scopes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahopkins%2Fstructured-scopes/lists"}