Extension Laissez-Passer


Extension Basics

Title
Laissez-Passer
Name
ckanext-laissezpasser
Type
Public extension
Description
Provides time-limited temporary access to specific datasets for users, enabling administrators to grant download permissions without requiring project membership.
CKAN versions
Download-Url (zip)
Last commit
8 months ago (2025-06-11 04:28:41)
Url to repo
Category
Authentication & Security


Background Infos

Description (long)
Show details

ckanext-laissezpasser

This extension expands on the flexible resource permissioning provided by 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 implemented 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 ckanext-initiatives.

Installation

To install ckanext-laissezpasser:

  1. Activate your CKAN virtual environment
  2. Clone the source and install it on the virtualenv
  3. Add laissezpasser to the ckan.plugins setting
  4. Restart CKAN
  5. Create the necessary database tables: ckan -c /etc/ckan/default/ckan.ini db upgrade -p laissezpasser

Config settings

# The number of days for a new pass to be valid
# (optional, default: 7).
ckanext.laissezpasser.duration = 1

It must be listed in the configuration file before the initiatives extension and any other similar extensions that use/override auth functions or chained auth functions.

License

AGPL

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


Installation Guide

Configuration hints

Must be listed before initiatives extension in plugins. Requires database upgrade.

Plugins to configure (ckan.ini)
laissezpasser
CKAN Settings (ckan.ini)
# ckanext.laissezpasser.duration = 7
DB migration to be executed
-p laissezpasser
<< back to Extensions