Skip to content

Commit

Permalink
Another fix for security/model cycle fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton committed Mar 18, 2019
1 parent 9672395 commit a31dcb7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/galaxy/app.py
Expand Up @@ -6,6 +6,7 @@
import time

import galaxy.model
import galaxy.model.security
import galaxy.queues
import galaxy.quota
import galaxy.security
Expand Down Expand Up @@ -154,7 +155,7 @@ def __init__(self, **kwargs):
self.webhooks_registry = WebhooksRegistry(self.config.webhooks_dirs)
# Load security policy.
self.security_agent = self.model.security_agent
self.host_security_agent = galaxy.security.HostAgent(
self.host_security_agent = galaxy.model.security.HostAgent(
model=self.security_agent.model,
permitted_actions=self.security_agent.permitted_actions)
# Load quota management.
Expand Down

0 comments on commit a31dcb7

Please sign in to comment.