{"id":28614177,"url":"https://github.com/perldancer/dancer-plugin-auth-rbac","last_synced_at":"2025-06-12T01:13:24.799Z","repository":{"id":1224164,"uuid":"1150032","full_name":"PerlDancer/Dancer-Plugin-Auth-RBAC","owner":"PerlDancer","description":"Dancer Authentication and Role-Based Access Control Framework","archived":false,"fork":false,"pushed_at":"2011-06-20T22:11:22.000Z","size":321,"stargazers_count":6,"open_issues_count":0,"forks_count":5,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-05-09T11:35:47.972Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Perl","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"tastejs/todomvc","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PerlDancer.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-12-08T15:45:22.000Z","updated_at":"2016-06-11T01:47:04.000Z","dependencies_parsed_at":"2022-08-16T12:35:31.510Z","dependency_job_id":null,"html_url":"https://github.com/PerlDancer/Dancer-Plugin-Auth-RBAC","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PerlDancer/Dancer-Plugin-Auth-RBAC","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerlDancer%2FDancer-Plugin-Auth-RBAC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerlDancer%2FDancer-Plugin-Auth-RBAC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerlDancer%2FDancer-Plugin-Auth-RBAC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerlDancer%2FDancer-Plugin-Auth-RBAC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PerlDancer","download_url":"https://codeload.github.com/PerlDancer/Dancer-Plugin-Auth-RBAC/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerlDancer%2FDancer-Plugin-Auth-RBAC/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259374995,"owners_count":22847878,"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":"2025-06-12T01:13:21.587Z","updated_at":"2025-06-12T01:13:24.792Z","avatar_url":"https://github.com/PerlDancer.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"Dancer-Plugin-Authorize - Dancer Authentication and Role-Based Access Control Framework!\n\nuse Dancer;\nuse Dancer::Plugin::Authorize;\n\npost '/login' =\u003e sub {\n\n    my $auth = auth(params-\u003e{user}, params-\u003e{pass});\n    \n    if ($auth) {\n        \n        if ($auth-\u003easa('guest')) {\n            ...\n        }\n        \n        if ($auth-\u003ecan('manage_accounts')) {\n            if ($auth-\u003ecan('manage_accounts', 'create')) {\n                ...\n            }\n            else {\n                ...\n            }\n        }\n        \n    }\n\n};\n\nTo install this module using code from CPAN,\nrun the following commands\n\nperl Makefile.PL\nmake\nmake test\nmake install\n\nTo install this module using code from the git repository,\nrun the following commands (Dist::Zilla required):\n\ndzil build\ncd Dancer-Plugin-Authorize-#.##\ncpan .\n\nREPOSITORY\n\n  http://github.com/alnewkirk/Dancer-Plugin-Authorize/\n\nCOPYRIGHT AND LICENCE\n\nCopyright (C) 2010 Al Newkirk\n\nThis program is free software; you can redistribute it and/or modify it\nunder the same terms as Perl itself.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperldancer%2Fdancer-plugin-auth-rbac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fperldancer%2Fdancer-plugin-auth-rbac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperldancer%2Fdancer-plugin-auth-rbac/lists"}