[ckan-changes] commit/ckanextiati: 2 new changesets

Bitbucket commits-noreply at bitbucket.org
Wed Oct 26 16:06:51 UTC 2011


2 new commits in ckanextiati:


https://bitbucket.org/okfn/ckanextiati/changeset/bdaf93ab8daa/
changeset:   bdaf93ab8daa
user:        amercader
date:        2011-10-26 18:05:30
summary:     Comment out role functions in the authz plugin, as they conflict with 888ed50c098d
affected #:  1 file

diff -r 7bb975816311e0f36d9144992e61ddb8a44599f0 -r bdaf93ab8daa1062b291c50e5e97ee05cedeb292 ckanext/iati/authz.py
--- a/ckanext/iati/authz.py
+++ b/ckanext/iati/authz.py
@@ -74,8 +74,9 @@
                 IatiPackageAuthzExtension._sync_authz_groups(package)
     
     def create(self, group):
-        model.clear_user_roles(group)
-        model.setup_default_user_roles(group, [])
+        #Commenting out as it conflicts with 888ed50c098d 
+        #model.clear_user_roles(group)
+        #model.setup_default_user_roles(group, [])
         _get_group_authz_group(group)  
         self._sync_packages(group)
     



https://bitbucket.org/okfn/ckanextiati/changeset/4408b0e1fe39/
changeset:   4408b0e1fe39
branch:      spreadsheet-support
user:        amercader
date:        2011-10-26 18:06:36
summary:     [merge] from default
affected #:  1 file

diff -r 3b5c05b70b3f319d4b680700ec2cae2551de95c0 -r 4408b0e1fe398feb381dd22ea610cc3046b6152b ckanext/iati/authz.py
--- a/ckanext/iati/authz.py
+++ b/ckanext/iati/authz.py
@@ -88,8 +88,9 @@
                 IatiPackageAuthzExtension._sync_authz_groups(package)
     
     def create(self, group):
-        model.clear_user_roles(group)
-        model.setup_default_user_roles(group, [])
+        #Commenting out as it conflicts with 888ed50c098d 
+        #model.clear_user_roles(group)
+        #model.setup_default_user_roles(group, [])
         _get_group_authz_group(group)  
         self._sync_packages(group)

Repository URL: https://bitbucket.org/okfn/ckanextiati/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.




More information about the ckan-changes mailing list