Custom Query (2152 matches)
Results (199 - 201 of 2152)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#113 | fixed | Simple script to test data migration on a production db | dread | dread |
Description |
Must not alter the db. Related to ticket:112. |
|||
#114 | fixed | Access Control - model | dread | dread |
Description |
Create in the model basic operation of Access Control. roles table name | context | action ----------------------- admin| package | edit admin| package | edit-permissions admin| package | read editor| package | update editor| package | read reader| package | read This data is set-up on db init and will have no interface. user-roles table: username | context_type | objectid | role rgrp | system | n/a | admin visitor | package | * | reader bob | package | geonames | admin visitor | package | geonames | editor visitor | package | geonames | reader john | group | ukgov | admin dread | group | ukgov | editor visitor | group | ukgov | reader This data will be added when someone is given permissions for the system, a package or a group. Pseudo code: class Package
class Group
def is_allowed(name, action, context=None): name: string - a username or IP for 'visitor'
|
|||
#115 | fixed | Access Control - wui constrained by model | dread | dread |
Description |
Based on a section of AccessControl design: Reading and writing to packages in the WUI and REST API are now dependent on the authz tables. |