[ckan-dev] Permissions and workflows

Pabitra Dash pkdash_reena at hotmail.com
Fri Jun 20 19:04:55 UTC 2014


Hi Alice,
In one of the projects, we implemented at the template level.
I am now trying to see how your userdatasets plugin works. I am getting the following error at the module load time:
AttributeError: 'functools.partial' object has no attribute '__module__'
Pabitra




> From: a.heaton at nhm.ac.uk
> To: ckan-dev at lists.okfn.org
> Date: Mon, 16 Jun 2014 13:50:53 +0000
> Subject: Re: [ckan-dev] Permissions and workflows
> 
> 
> Pabitra Dash wrote:
> 
> > We had a similar workflow issue that we solved via an extension that we implemented. Basically the extension hides the Edit button for a displayed dataset if the user is not the owner of the dataset.
> 
> Hi Pabitra,
> 
> I'm not sure whether your implementation works at the theme level (as you mention "hidding" the button) or the permission level. Either way, it seems to work by removing permissions from the 'editor' role. In case you're interested we've made an extension (which works at the permission level) that works by adding permissions to the 'member' role instead. If you are interested you can help us by testing it! See my other post for details.
> 
> Best Wishes,
> Alice Heaton
> _______________________________________________
> 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/20140620/bf73dfb1/attachment-0003.html>


More information about the ckan-dev mailing list