[ckan-dev] dataset permission

Khalegh Mamakani khalegh at highwaythreesolutions.com
Mon Mar 23 16:37:10 UTC 2015


Hi Pabitra,

You can achieve that by implementing IAuthFunctions interface : http://docs.ckan.org/en/latest/extensions/plugin-interfaces.html?highlight=iauth#ckan.plugins.interfaces.IAuthFunctions

Implement a custom auth function for package_update action and change the access rules based on the package private field.

-Khalegh

On Mar 23, 2015, at 9:27 AM, Pabitra Dash <pkdash_reena at hotmail.com> wrote:

> 
> Hello All,
> 
> We have a requirement where an user with 'editor' role should be able to edit a dataset that is private. Any suggestions how we can achieve this?
> 
> Thanks,
> Pabitra
> Utah State University
> Logan, USA
> 
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20150323/067fede7/attachment-0003.html>


More information about the ckan-dev mailing list