ckan / ckan/ckanext-scheming

Disabling the default organization schema

Open
#333 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
102
Forks
182
PR merge metrics
No merged PRs in 30d

Description

Creating a new organization type (for example called "publisher" like the example found here https://github.com/ckan/ckanext-scheming/blob/master/ckanext/scheming/custom_org_with_address.json) is very straighforward. However, the links for /organization still work, if you just type them in the browser. Is there some way to only allow "publisher" organization types using the extension? Ideally, /organization would return a not found error.

Contributor guide

No contributing guide indexed for this repository

Research direction

Review the custom organization schema example and the extension's handling of /organization. Determine how the extension can restrict organization types to publisher while preserving that type's links. Done means /organization returns not found and publisher organization routes continue to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.