Mercurial > repos > gga > apollo_delete_organism
diff webapollo.py @ 6:db98cd19587b draft
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/apollo commit d9f27b297d9a919471c92b02ecf6cc9554457211
author | gga |
---|---|
date | Tue, 30 Oct 2018 04:32:00 -0400 |
parents | 0af4179e6758 |
children | dd63c6e11a95 |
line wrap: on
line diff
--- a/webapollo.py Fri Aug 31 09:34:10 2018 -0400 +++ b/webapollo.py Tue Oct 30 04:32:00 2018 -0400 @@ -1544,10 +1544,7 @@ permissionMap = { x['organism']: x['permissions'] for x in user.organismPermissions - if 'WRITE' in x['permissions'] or - 'READ' in x['permissions'] or - 'ADMINISTRATE' in x['permissions'] or - user.role == 'ADMIN' + if 'WRITE' in x['permissions'] or 'READ' in x['permissions'] or 'ADMINISTRATE' in x['permissions'] or user.role == 'ADMIN' } if 'error' in orgs: