Custom Query (2152 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (1555 - 1557 of 2152)

Ticket Resolution Summary Owner Reporter
#947 duplicate Move the assignment of roles to a package on package creation to an extension rgrp

Reported by rgrp, 3 years ago.

Description

At the moment the assignment of user roles on package creation is done in setup_user_roles method in ckan/model/authz.py and is hard-coded.

This can be a pain to override (you can use a Plugin listening for package create events) and makes some things such as putting system in restricted mode more complex than it should be (see ticket:833).

An elegant solution would be to move this into an Extension this simplifies the code and make it easier for people override (just remove the default extension and plugin your own).

#953 fixed Add tagline/description to template and set in configuration rgrp rgrp

Reported by rgrp, 3 years ago.

Description

Have a tagline / description are under main title and set if from ckan.site_description config variable.

#954 fixed [super] API version 3 kindly rgrp

Reported by rgrp, 3 years ago.

Description

Child tickets:

  • #1107 Move package autocomplete from package controller and move to API
  • #1087 version and contact info api call

Move to a format that has a separate responseHeader and response.

A standard package response

{
  responseHeader: {
    status: 0,
  }    
  response: {package-dict}
}

On error:

{
  responseHeader: {
    status: {err-code},
    error: 'message'
  }    
  response: none
}

A search query

Based directly on solr.

{
  responseHeader: {
    status: 0,
  }    
  response: {
    numFound: 5,
    start: 0
    docs: [
    ]
  }
}

Issues

This is a breaking change for clients

References

Note: See TracQuery for help on using queries.