1 new commit in galaxy-central:
https://bitbucket.org/galaxy/galaxy-central/commits/dbdef1812eb9/
Changeset: dbdef1812eb9
Branch: stable
User: natefoo
Date: 2014-08-28 20:00:16
Summary: Update tag latest_2014.08.11 for changeset a6cfe95047eb
Affected #: 1 file
diff -r a6cfe95047eb7e85e3d0aa54e8bcce0ce449c880 -r dbdef1812eb95042343a74611946d97a9d895b6e .hgtags
--- a/.hgtags
+++ b/.hgtags
@@ -18,4 +18,4 @@
81fbe25bd02edcd53065e8e4476dd1dfb5a72cf2 latest_2013.11.04
2a756ca2cb1826db7796018e77d12e2dd7b67603 latest_2014.02.10
ca45b78adb4152fc6e7395514d46eba6b7d0b838 release_2014.08.11
-109b170188e97fbfc2c998ec174aff9546dd1bd8 latest_2014.08.11
+a6cfe95047eb7e85e3d0aa54e8bcce0ce449c880 latest_2014.08.11
Repository URL: https://bitbucket.org/galaxy/galaxy-central/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
1 new commit in galaxy-central:
https://bitbucket.org/galaxy/galaxy-central/commits/36bf58f83847/
Changeset: 36bf58f83847
User: martenson
Date: 2014-08-28 17:01:32
Summary: library permissions API - check whether payload is present in the kwd and throw exception if it is not, also bugfix
Affected #: 1 file
diff -r b7d851e1c64c79f0c75e4a746e127a5c3832129d -r 36bf58f838476e738d2efa893b1318c6f7bde97f lib/galaxy/webapps/galaxy/api/libraries.py
--- a/lib/galaxy/webapps/galaxy/api/libraries.py
+++ b/lib/galaxy/webapps/galaxy/api/libraries.py
@@ -386,8 +386,11 @@
action = kwd.get( 'action', None )
if action is None:
- return self.set_permissions_old( trans, library )
- # raise exceptions.RequestParameterMissingException( 'The mandatory parameter "action" is missing.' )
+ payload = kwd.get( 'payload', None )
+ if payload is not None:
+ return self.set_permissions_old( trans, library, payload, **kwd )
+ else:
+ raise exceptions.RequestParameterMissingException( 'The mandatory parameter "action" is missing.' )
elif action == 'remove_restrictions':
trans.app.security_agent.make_library_public( library )
if not trans.app.security_agent.library_is_public( library ):
Repository URL: https://bitbucket.org/galaxy/galaxy-central/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
1 new commit in galaxy-central:
https://bitbucket.org/galaxy/galaxy-central/commits/b7d851e1c64c/
Changeset: b7d851e1c64c
User: martenson
Date: 2014-08-28 16:57:30
Summary: no need to expose the method through API anymore
Affected #: 1 file
diff -r 44ed4f6424270850a56c44f85be4a8ad37a2879a -r b7d851e1c64c79f0c75e4a746e127a5c3832129d lib/galaxy/webapps/galaxy/api/libraries.py
--- a/lib/galaxy/webapps/galaxy/api/libraries.py
+++ b/lib/galaxy/webapps/galaxy/api/libraries.py
@@ -342,6 +342,7 @@
raise exceptions.InternalServerError( 'Error loading from the database.' + str(e))
return role
+
@expose_api
def set_permissions( self, trans, encoded_library_id, **kwd ):
"""
@@ -485,7 +486,7 @@
return dict( access_library_role_list=access_library_role_list, modify_library_role_list=modify_library_role_list, manage_library_role_list=manage_library_role_list, add_library_item_role_list=add_library_item_role_list )
- @expose_api
+
def set_permissions_old( self, trans, library, payload, **kwd ):
"""
*** old implementation for backward compatibility ***
Repository URL: https://bitbucket.org/galaxy/galaxy-central/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.