Custom Query (2152 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (817 - 819 of 2152)

Ticket Resolution Summary Owner Reporter
#1031 fixed User lookup API johnlawrenceaspden rgrp

Reported by rgrp, 3 years ago.

Description

Add an api for searching users. This is needed for any kind of ajax autocomplete (needed for anywhere we want to add users).

  • API location: /api/util/user/lookup?q=querystr&limit=10
  • Return json objects containing {id: ..., name: ..., fullname: ...}
  • Put in a module called controllers/apiv2/user.py
#1036 fixed Add tests for three functions in ckan/model/user.py johnlawrenceaspden johnlawrenceaspden

Reported by johnlawrenceaspden, 3 years ago.

Description

create a new test file ckan/model/test_user.py

add tests for the following three functions in ckan/model/user.py

number_of_edits, number_administered_packages, search

merged in in changeset 0046f83aedcf

#1075 fixed Administrative dashboard - Edit Authorization related to System object johnlawrenceaspden rgrp

Reported by rgrp, 3 years ago.

Description

Roles on System object are important because admin role on system equates to being a 'sysadmin' (i.e. able to do anything).

  • Make users sysadmin (either as separate action or as part of editing roles on system object)
  • /authz subpage for editing roles on system object
    • Add and update user roles
    • Add and update authz group roles
    • List actions associated to roles at top of page (extra points for checkbox table with editability)
  • Document on http://wiki.ckan.net/Authorization what roles on System object 'mean' esp sysadmin role on System

Related Tickets

  • super ticket: #833
  • authz lib improvement and authztool refactor #1050
Note: See TracQuery for help on using queries.