{"id":16778269,"url":"https://github.com/dgf/coffee-authorization","last_synced_at":"2025-03-16T19:26:12.561Z","repository":{"id":2360333,"uuid":"3323932","full_name":"dgf/coffee-authorization","owner":"dgf","description":"simple authorization implementation on coffee","archived":false,"fork":false,"pushed_at":"2012-02-04T01:56:27.000Z","size":96,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-23T06:11:56.225Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"CoffeeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dgf.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}},"created_at":"2012-02-01T10:39:12.000Z","updated_at":"2014-01-01T04:42:33.000Z","dependencies_parsed_at":"2022-08-26T16:00:20.041Z","dependency_job_id":null,"html_url":"https://github.com/dgf/coffee-authorization","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgf%2Fcoffee-authorization","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgf%2Fcoffee-authorization/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgf%2Fcoffee-authorization/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgf%2Fcoffee-authorization/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dgf","download_url":"https://codeload.github.com/dgf/coffee-authorization/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243918643,"owners_count":20368746,"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":[],"created_at":"2024-10-13T07:27:17.739Z","updated_at":"2025-03-16T19:26:12.522Z","avatar_url":"https://github.com/dgf.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CoffeeScript Authorization Example\n\nsimple authorization template and specification\n\n    git clone ...\n    npm install\n    npm test\n\n## example declaration of a glossary\n\n                                                    _______________\n                                                   |  \u003c\u003c scope \u003e\u003e  |\n    authorize = new Authorization 'glossary'       | Authorization |\n                                                   |_______________|\n                                                          |\n                                                    ______|________\n                                                   |               |\n    authorize.role 'user', (role) -\u003e               |     Role      |\n                                                   |_______________|\n                                                          |\n                                                    ______|________\n                                                   | \u003c\u003c builder \u003e\u003e |\n    role.permit ['edit','delete'], (user, term) -\u003e |   Permission  |\n                                                   |_______________|\n      true if term.owner == user.login                    |\n                              _______________       ______|________\n                             |               |     |  \u003c\u003c list \u003e\u003e   |\n                             |   Condition   |_____|    Action     |\n                             |_______________|     |_______________|\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgf%2Fcoffee-authorization","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdgf%2Fcoffee-authorization","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgf%2Fcoffee-authorization/lists"}