wip
CI / test (pull_request) Failing after 27s
API CI / api-tests (pull_request) Failing after 31s

This commit is contained in:
Tim Lorsbach
2026-09-08 15:11:47 +02:00
parent 0b325a30b7
commit b12c2dda69
8 changed files with 77 additions and 15 deletions
@@ -0,0 +1,18 @@
# Generated by Django 6.0.3 on 2026-09-08 08:54
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('bayer', '0003_pescompound_pesstructure_package_data_pool'),
]
operations = [
migrations.AddField(
model_name='package',
name='shareable',
field=models.BooleanField(default=True, verbose_name='Shareable'),
),
]
+1
View File
@@ -23,6 +23,7 @@ class Package(EnviPathModel):
license = models.ForeignKey(
"epdb.License", on_delete=models.SET_NULL, blank=True, null=True, verbose_name="License"
)
shareable = models.BooleanField(verbose_name="Shareable", default=True)
class Classification(models.IntegerChoices):
INTERNAL = 0, "Internal"
+2 -2
View File
@@ -119,8 +119,8 @@ def create_pes_node(request, package_uuid, pathway_uuid):
except ValueError as e:
return error(
request,
"Could not fetch PES",
f"Could not fetch PES data for {pes_link}"
"Failed to fetch this PES",
"Either the PES-ID is incorrect, or you're missing sufficient permissions to access this (potentially secret) item. In case you're missing permissions you can request the entitlement cs.u.enviPath_secret_data_user_group on go/idnow to gain access."
)
classification = pes_data.get("classificationLevel", "")