{"id":29200925,"url":"https://github.com/datopian/ckanext-noanonaccess","last_synced_at":"2025-07-24T10:37:11.327Z","repository":{"id":44617145,"uuid":"225556357","full_name":"datopian/ckanext-noanonaccess","owner":"datopian","description":"Disable anonymous access to CKAN by redirecting users to login page.","archived":false,"fork":false,"pushed_at":"2024-12-23T16:32:03.000Z","size":58,"stargazers_count":7,"open_issues_count":1,"forks_count":7,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-07-02T11:13:24.196Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/datopian.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":"2019-12-03T07:22:36.000Z","updated_at":"2024-10-12T15:33:24.000Z","dependencies_parsed_at":"2024-12-20T01:16:27.296Z","dependency_job_id":null,"html_url":"https://github.com/datopian/ckanext-noanonaccess","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/datopian/ckanext-noanonaccess","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datopian%2Fckanext-noanonaccess","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datopian%2Fckanext-noanonaccess/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datopian%2Fckanext-noanonaccess/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datopian%2Fckanext-noanonaccess/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datopian","download_url":"https://codeload.github.com/datopian/ckanext-noanonaccess/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datopian%2Fckanext-noanonaccess/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266828786,"owners_count":23991220,"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","status":"online","status_checked_at":"2025-07-24T02:00:09.469Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-07-02T11:06:24.986Z","updated_at":"2025-07-24T10:37:11.318Z","avatar_url":"https://github.com/datopian.png","language":"Python","readme":"[![Tests](https://github.com/datopian/ckanext-noanonaccess/actions/workflows/test.yml/badge.svg)](https://github.com/datopian/ckanext-noanonaccess/actions/workflows/test.yml) [![CKAN](https://img.shields.io/badge/ckan-2.10.x-blue.svg)]() [![CKAN](https://img.shields.io/badge/ckan-2.9.x-blue.svg)]() [![CKAN](https://img.shields.io/badge/ckan-2.8.x-blue.svg)]()\n\nckanext-noanonaccess\n=============\n\nDisable anonymous access to the CKAN classic frontend. This extension redirects anonymous users to the login page and only allow if they are logged in. It's useful if you're using CKAN as an internal data management system or have  a decoupled frontend for the end users.\n\n\n\n------------\nInstallation\n------------\n\nTo install ckanext-noanonaccess:\n\n1. Activate your CKAN virtual environment, for example::\n\n        . /usr/lib/ckan/default/bin/activate\n\n2. Install the ckanext-noanonaccess Python package into your virtual environment::\n\n        pip install ckanext-noanonaccess\n\n3. Add ``noanonaccess`` to the ``ckan.plugins`` setting in your CKAN\n   config file (by default the config file is located at;)\n\n        /etc/ckan/default/production.ini\n\n4. Restart CKAN. For example if you've deployed CKAN with Apache on Ubuntu:\n\n        sudo service apache2 reload\n\n--------------------\nConfiguration Options\n--------------------\nYou can also specify allowed page URLs in blueprints by using either the blueprint's name or path URL in regex format, separated by spaces.\n\n    ckanext.noanonaccess.allowed_blueprint = feeds.general feeds.group\n    ckanext.noanonaccess.allowed_paths = /about/.* /oauth2/callback\n\n------------------------\nDevelopment Installation\n------------------------\n\nTo install ckanext-noanonaccess for development, activate your CKAN virtualenv and\ndo::\n\n    git clone https://github.com/datopian/ckanext-noanonaccess.git\n    cd ckanext-noanonaccess\n    python setup.py develop\n    pip install -r dev-requirements.txt\n\n\n-----------------\nRunning the Tests\n-----------------\n\nTo run the tests, do::\n\n    pytest --ckan-ini=test.ini \n\nTo run the tests and produce a coverage report, first make sure you have\ncoverage installed in your virtualenv (``pip install coverage``) then run::\n\n    pytest --ckan-ini=test.ini --cov=ckanext.noanonaccess --disable-warnings ckanext/noanonaccess/tests\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatopian%2Fckanext-noanonaccess","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatopian%2Fckanext-noanonaccess","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatopian%2Fckanext-noanonaccess/lists"}