Custom Query (2152 matches)
Results (1036 - 1038 of 2152)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#1036 | fixed | Add tests for three functions in ckan/model/user.py | johnlawrenceaspden | johnlawrenceaspden |
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 |
|||
#1050 | invalid | Authz lib improvement and refactor of ckan/lib/authztool.py | thejimmyg | johnlawrenceaspden |
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
|
|||
#1065 | fixed | [super] Change Authorization System | zephod | johnlawrenceaspden |
Description |
Child tickets
Old ticket description:
More info on Hierarchy changee.g. UserGroup? NHS contains the User nhsysadmin, as well as the UserGroups? SURREY and BERKS, which themselves contain users. One user in SURREY is Simon the Sysadmin, who has permissions on the whole system. His permissions should not leak out to other users or groups, and user permissions generally should not. Each Group has permissions over various objects. A user has permissions in his own right, and also has the permissions of his own group, and of all the groups contained in his group, and so on recursively. Algorithm: possible(user, action, package):
|