Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Name reference for secure files instead of ID #309

Open
1 task
aklakina opened this issue Mar 28, 2024 · 0 comments
Open
1 task

Use Name reference for secure files instead of ID #309

aklakina opened this issue Mar 28, 2024 · 0 comments

Comments

@aklakina
Copy link

aklakina commented Mar 28, 2024

Current mechanism

Currently the tasks use secure files objects referenced by id.

Proposed mechanism

The tasks should reference every secure file by name and only resolve the id when it is necessary like creating a download ticket.

Justification

The name of the secure file is also a unique identifier. In a project only 1 secure file can exist with any given name.
The mechanism of referencing by id also breaks every task that was storing the id as a ref when someone wants to update the content of the secure file because the update itself removes the secure file and then recreates it with the same name.

Fix

#307

Tasks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant