mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Only skip check_security checks if check_ownership and check_accessible are false
This commit is contained in:
@@ -87,7 +87,7 @@ class WorkflowsManager(object):
|
||||
workflowinvocations. Throw an exception or returns True if user has
|
||||
needed level of access.
|
||||
"""
|
||||
if not check_ownership or check_accessible:
|
||||
if not check_ownership and not check_accessible:
|
||||
return True
|
||||
|
||||
# If given an invocation verify ownership of invocation
|
||||
|
||||
Reference in New Issue
Block a user