Extension Laissezpasser


Extension Basics

Title
Laissezpasser
Name
ckanext-laissezpasser
Type
Public extension
Description
Provide temporary access to resources for a user
CKAN versions
Download-Url (zip)
Last commit
7 months ago (2025-06-11 02:28:41)
Url to repo
Category
Authentication & Security


Background Infos

Description (long)
Show details

Tests

ckanext-laissezpasser

This extension expands on the flexible resource permissioning provided by ckanext-initiatives https://github.com/BioplatformsAustralia/ckanext-initiatives. It enables systems administrators to be able to provide time limited access to particular users to download specific datasets irrespective of if they are members of the relevant project.

The extension intercepts the same authentication calls as ckanext-initiatives and is implemented as a chained auth function.

A frontend and API calls are implmented to view, add and remove passes.

The name of the extension is derived from the French

    laissez-passer

    noun

    a permit; pass, especially one issued in lieu of a passport.

Requirements

Compatibility with core CKAN versions:

CKAN version Compatible?
2.8 and earlier not tested
2.9 yes
2.10 not yet
2.11 not yet

It is strongly suggested to use this extension with

https://github.com/BioplatformsAustralia/ckanext-initiatives

Installation

To install ckanext-laissezpasser:

  1. Activate your CKAN virtual environment, for example:

    . /usr/lib/ckan/default/bin/activate

  2. Clone the source and install it on the virtualenv

    git clone https://github.com/BioplatformsAustralia/ckanext-laissezpasser.git cd ckanext-laissezpasser pip install -e . pip install -r requirements.txt

  3. Add laissezpasser to the ckan.plugins setting in your CKAN config file (by default the config file is located at /etc/ckan/default/ckan.ini).

  4. Restart CKAN. For example if you’ve deployed CKAN with Apache on Ubuntu:

    sudo service apache2 reload

  5. Create the necessary database tables

    ckan -c /

Version
Version release date
(not set)
Contact name
Bioplatforms Australia
Contakt email
Contact Url
(not set)


Installation Guide

Configuration hints

To install ckanext-laissezpasser:

  1. Activate your CKAN virtual environment, for example:

    . /usr/lib/ckan/default/bin/activate

  2. Clone the source and install it on the virtualenv

    git clone https://github.com/BioplatformsAustralia/ckanext-laissezpasser.git cd ckanext-laissezpasser pip install -e . pip install -r requirements.txt

  3. Add laissezpasser to the ckan.plugins setting in your CKAN config file (by default the config file is located at `/etc/ckan/default/c

Plugins to configure (ckan.ini)
laissezpasser
CKAN Settings (ckan.ini)
# ckanext.laissezpasser.duration = 1
DB migration to be executed
(not set)
<< back to Extensions