Answer the question
In order to leave comments, you need to log in
What is trans in functions?
Good time of day, Khabrovites.
class Dataset( object ):
.....
def get_access_roles( self, trans ):
roles = []
for dp in self.actions:
if dp.action == trans.app.security_agent.permitted_actions.DATASET_ACCESS.action:
roles.append( dp.role )
return roles
Answer the question
In order to leave comments, you need to log in
It looks like this is a link to the current request object in the Galaxy Code framework galaxy-central.readthedocs.org/en/latest/index.html
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question