Extension Close for Guests


Extension Basics

Title
Close for Guests
Name
ckanext-close-for-guests
Type
Public extension
Description
CKAN extension for restricting guest user access and showing a login page instead of public content.
CKAN versions
Download-Url (zip)
Last commit
3 months ago (2025-11-26 11:18:52)
Url to repo
Category
Authentication & Security


Background Infos

Description (long)
Show details

ckanext-close-for-guests

The extension for closing CKAN to guest users and showing a login page.

Requirements

CKAN Version Compatible
earlier not tested
2.9 Yes

Installation

  1. Activate your CKAN virtual environment: . /usr/lib/ckan/default/bin/activate

  2. Clone the source and install it on the virtualenv:

    git clone https://github.com/TIBHannover/ckanext-close-for-guests.git
    cd ckanext-close-for-guests
    pip install -e .
    pip install -r requirements.txt
    python setup.py develop
    
  3. Add close_for_guests to the ckan.plugins setting in your CKAN config file.

  4. Restart CKAN.

Version
1.1.7
Version release date
2025-11-26
Contact name
TIB Hannover
Contakt email
(not set)
Contact Url


Installation Guide

Configuration hints

Add ‘close_for_guests’ to ckan.plugins in your CKAN config file.

Plugins to configure (ckan.ini)
close_for_guests
CKAN Settings (ckan.ini)
# No additional environment variables required
DB migration to be executed
(not set)
<< back to Extensions