Extension ACL Permissions


Extension Basics

Title
ACL Permissions
Name
ckanext-acl
Type
Public extension
Description
Access Control List for per-user permissions
CKAN versions

~2.9, ~2.10, ~2.11

Show details
Download-Url (zip)
Download-Url commit date
2024-10-17
Url to repo
Category
Authentication & Security


Background Infos

Description (long)
Show details

Implementation of ACL (Access Control List) for CKAN with per-user permission management. Adds ‘Permissions’ tab to admin interface for managing user permissions on individual user level. Implements IACL interface allowing plugins to define custom managed permissions via update_permission_list method. Supports Python 3.7-3.10.

Version
0.1.2.post1
Version release date
2024-10-17
Contact name
Sergey Motornyuk
Contakt email
Contact Url
(not set)


Installation Guide

Configuration hints

Installation:

pip install ckanext-acl

Add acl to ckan.plugins

Features:

- Permissions tab in admin interface

- Per-user permission management

- IACL interface for custom permissions

Extending ACL in your plugin:

from ckanext.acl.interfaces import IACL

plugins.implements(IACL)

#

def update_permission_list(self, perms):

# Example: Allow any user to create organization

perms.create_permission(‘organization_create’)

#

perms is ckanext.acl.access_permissions.AccessPermissions object

Python support: 3.7, 3.8, 3.9, 3.10

Development status: Beta

Plugins to configure (ckan.ini)
acl
CKAN Settings (ckan.ini)
(not set)
DB migration to be executed
(not set)
<< back to Extensions