access_permissions Package

permissions

class tvb.interfaces.rest.server.access_permissions.permissions.DataTypeAccessPermission(datatype_gid)[source]

Bases: ProjectAccessPermission

class tvb.interfaces.rest.server.access_permissions.permissions.OperationAccessPermission(operation_gid)[source]

Bases: ProjectAccessPermission

class tvb.interfaces.rest.server.access_permissions.permissions.ProjectAccessPermission(project_gid)[source]

Bases: ResourceAccessPermission

check_project_permission(logged_user_id, project_id)[source]
class tvb.interfaces.rest.server.access_permissions.permissions.ResourceAccessPermission(resource_identifier, required_role=None)[source]

Bases: object

has_access()[source]