{"id":16793531,"url":"https://github.com/mdp/quickadmin","last_synced_at":"2026-01-04T02:02:32.062Z","repository":{"id":459971,"uuid":"84113","full_name":"mdp/quickadmin","owner":"mdp","description":"A merb slice to quickly add admin only access via OpenID","archived":false,"fork":false,"pushed_at":"2008-12-09T14:23:44.000Z","size":124,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-23T12:14:52.647Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"mpercival.com","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mdp.png","metadata":{"files":{"readme":"README.mdown","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":"2008-12-03T03:29:14.000Z","updated_at":"2019-08-13T13:45:18.000Z","dependencies_parsed_at":"2022-07-04T17:32:36.380Z","dependency_job_id":null,"html_url":"https://github.com/mdp/quickadmin","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/mdp%2Fquickadmin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdp%2Fquickadmin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdp%2Fquickadmin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdp%2Fquickadmin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdp","download_url":"https://codeload.github.com/mdp/quickadmin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243960636,"owners_count":20375107,"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-13T08:49:33.943Z","updated_at":"2026-01-04T02:02:31.993Z","avatar_url":"https://github.com/mdp.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# quickadmin\n\n### A merb slice that authenticates yaml defined OpenID users.\n\n____\n\n## About\n\nSometime you have an app that doesn't need full authentication, but you'd like to be able to\nlimit some pages to admins only. This is the story of that app...\n\n### MerbDay Atlanta\n\nThis was originally presented at [MerbDayAtlanta](http://merbday.com/). The orginal slides are\nlocated in the [Merbday GitHub Repo](http://github.com/merbday/atlanta/).\n\n### Why doesn't it use Merb-Auth\n\nBecause it's not returning a standard user object. Even with a merb-auth strategy, you still need to\nreturn a basic user object. It would work correctly alone, but if you roll merb-auth into your project\nand you'd have two possible user objects being stored, a complete dm user objects, and a simple OpenID.\nAlso, merb-auth doesn't do authorization, just authentication. I'm going to revisit this once [merb-authz](http://github.com/hassox/merb-authz)\nis rolled into merb.\n\n## Installation and use\n\nInstall the gem from the cloned repo\n\n    git clone git://github.com/markpercival/quickadmin.git\n    cd quickadmin\n    sudo rake install\n\nAdd the following to dependencies.rb\n\n    dependency 'quickadmin'\n\nand then add this to router.rb\n\n    slice(:quickadmin, :name_prefix =\u003e nil, :path_prefix =\u003e \"\")\n\nOn any page you want to protect just create a before filter:\n\n    before :ensure_quickadmin, :only =\u003e [:index, :edit]\n\nAdd the authorized OpenID's to 'config/quickadmins.yaml'\n\n    - mpercival.com\n    - gweezelbur.com\n    - john.schult.us\n    \nIt will auto-magically create the necessary 'config/quickadmins.yaml'\non the first load if you don't already have one.\n\n## Author and license info\n\n- Official Repo: [http://github.com/markpercival/quickadmin](http://github.com/markpercival/quickadmin)\n- \u0026copy; 2008, [Mark Percival](http://mpercival.com) - [mark@mpercival.com](mailto:mark@mpercival.com)\n- Released under the [MIT License](http://www.opensource.org/licenses/mit-license.php)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdp%2Fquickadmin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdp%2Fquickadmin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdp%2Fquickadmin/lists"}