Warning
This document is for an in-development version of Galaxy. You can alternatively view this page in the latest release if it exists or view the top of the latest release's documentation.
tool_shed.webapp.security package¶
Tool Shed Security
-
class
tool_shed.webapp.security.
RBACAgent
[source]¶ Bases:
object
Handle Galaxy Tool Shed security
-
permitted_actions
= <galaxy.util.bunch.Bunch object>¶
-
-
class
tool_shed.webapp.security.
CommunityRBACAgent
(model, permitted_actions=None)[source]¶ Bases:
tool_shed.webapp.security.RBACAgent
-
sa_session
¶ Returns a SQLAlchemy session
-
allow_action
(roles, action, item)[source]¶ Method for checking a permission for the current user ( based on roles ) to perform a specific action on an item
-
set_entity_group_associations
(groups=None, users=None, roles=None, delete_existing_assocs=True)[source]¶
-
set_entity_role_associations
(roles=None, users=None, groups=None, repositories=None, delete_existing_assocs=True)[source]¶
-
set_entity_user_associations
(users=None, roles=None, groups=None, delete_existing_assocs=True)[source]¶
-