Custom Query (2152 matches)
Results (1501 - 1503 of 2152)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#112 | wontfix | Test db schema created via migration scripts | rgrp | dread |
Description |
'paster db upgrade' should result in the same database as 'paster db create' on a clean system. In particular, all tests should pass. Note: equivalent of paster db upgrade isn't being run from tests at the moment (we haven't been able to get this to work). |
|||
#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'
|