Changes between Initial Version and Version 7 of Ticket #358


Ignore:
Timestamp:
04/18/11 11:15:16 (3 years ago)
Author:
rgrp
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #358

    • Property Repository changed from to ckan
    • Property Priority changed from critical to major
    • Property Theme changed from to none
    • Property Milestone changed from v1.1 to ckan-v1.5
    • Property Owner changed from dread to rgrp
  • Ticket #358 – Description

    initial v7  
    2121 }] 
    2222}}} 
     23 
     24== Authorization == 
     25 
     261. Have it generic (ie. not per resource) and use an action/role on system 
     272. Require all resources to attach to packages an inherit their permissions (i.e. read/write etc if and only read/write on associated packages) 
     283. Introduce Resource in authorization system (requires migration) 
     29 
     30Mixed model 
     31 
     32{{{ 
     33Create / Edit: 
     34 
     35if resource associated to package: 
     36    check_permissions(package, update) 
     37else: 
     38    check_system_permissions(c.user, model.Action.Resouce Create/Update, model.System) 
     39}}}