Warning
This document is for an old release 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.
galaxy.webapps.tool_shed.security package¶
Tool Shed Security
-
class
galaxy.webapps.tool_shed.security.
RBACAgent
[source]¶ Bases:
object
Handle Galaxy Tool Shed security
-
permitted_actions
= <galaxy.util.bunch.Bunch object>¶
-
-
class
galaxy.webapps.tool_shed.security.
CommunityRBACAgent
(model, permitted_actions=None)[source]¶ Bases:
galaxy.webapps.tool_shed.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]¶
-