Custom Query (2152 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (208 - 210 of 2152)

Ticket Resolution Summary Owner Reporter
#1050 invalid Authz lib improvement and refactor of ckan/lib/authztool.py thejimmyg johnlawrenceaspden

Reported by johnlawrenceaspden, 3 years ago.

Description

Refactor ckan/lib/authztool.py so that the relevant methods are independent of the command line interface.

The extracted methods should live in a new file ckan/authz.py. authztool.py should probably move into cli.py and will just do command line parsing and printing and use ckan/authz.py. The updated web gui for authz will also use this code.

Tests should be made. There's already a file ckan/tests/test_authz.py, which looks like the appropriate place for new tests.

all to go on a branch feature-1050-refactor-authtoolz

Optional extras

  • Rename ckan/authz.py to ckan/lib/authz.py or even ckan/logic/authz.py
#1253 fixed Authz refactor amercader amercader

Reported by amercader, 3 years ago.

Description

We agreed on a system that allows overriding the authz checks at a logic function level (e.g. package_create, user_show) and supports the old (current) authz system.

#1038 fixed Authz tool - operate on all packages at once dread dread

Reported by dread, 3 years ago.

Description

Add 'package:all' to authz tool to allow mass changes of authz.

Note: See TracQuery for help on using queries.