-
Notifications
You must be signed in to change notification settings - Fork 30
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
model: design workflow run sharing tables #206
Comments
Adds two tables to the database. The `user_workflow` table makes it possible to verify whether a specific workflow has been shared with a user. The `role` table stores various roles, such as 'read-only' and 'read-write.' Closes reanahub#206
Adds two tables to the database. The `user_workflow` table makes it possible to verify whether a specific workflow has been shared with a user. The `role` table stores various roles, such as 'read-only' and 'read-write.' Closes reanahub#206
Adds two tables to the database. The `user_workflow` table makes it possible to verify whether a specific workflow has been shared with a user. The `role` table stores various roles, such as 'read-only' and 'read-write.' Closes reanahub#206
Adds two tables to the database. The `user_workflow` table makes it possible to verify whether a specific workflow has been shared with a user. The `role` table stores various roles, such as 'read-only' and 'read-write.' Closes reanahub#206
Adds two tables to the database. The `user_workflow` table makes it possible to verify whether a specific workflow has been shared with a user. The `role` table stores various roles, such as 'read-only' and 'read-write.' Closes reanahub#206
Looks good, some more thoughts:
|
|
After in-person discussions, several changes were made to the database design:
|
Adds a table and an enum to the database. The `user_workflow` table makes it possible to verify whether a specific workflow has been shared with a user. The `accesstype` enum defines the different access types that can be granted to a user. For now only `read` access is supported. Closes reanahub#206
Adds a table and an enum to the database. The `user_workflow` table makes it possible to verify whether a specific workflow has been shared with a user. The `accesstype` enum defines the different access types that can be granted to a user. For now only `read` access is supported. Closes reanahub#206
Adds a table and an enum to the database. The `user_workflow` table makes it possible to verify whether a specific workflow has been shared with a user. The `accesstype` enum defines the different access types that can be granted to a user. For now only `read` access is supported. Closes reanahub#206
Adds a table and an enum to the database. The `user_workflow` table makes it possible to verify whether a specific workflow has been shared with a user. The `accesstype` enum defines the different access types that can be granted to a user. For now only `read` access is supported. Closes reanahub#206
Adds a table and an enum to the database. The `user_workflow` table makes it possible to verify whether a specific workflow has been shared with a user. The `accesstype` enum defines the different access types that can be granted to a user. For now, only `read` access is supported. Closes reanahub#206
Adds a table and an enum to the database. The `user_workflow` table makes it possible to verify whether a specific workflow has been shared with a user. The `accesstype` enum defines the different access types that can be granted to a user. For now, only `read` access is supported. Closes reanahub#206
Adds a table and an enum to the database. The `user_workflow` table makes it possible to verify whether a specific workflow has been shared with a user. The `accesstype` enum defines the different access types that can be granted to a user. For now, only `read` access is supported. Closes reanahub#206
Adds a table and an enum to the database. The `user_workflow` table makes it possible to verify whether a specific workflow has been shared with a user. The `accesstype` enum defines the different access types that can be granted to a user. For now, only `read` access is supported. Closes reanahub#206
Adds a table and an enum to the database. The `user_workflow` table makes it possible to verify whether a specific workflow has been shared with a user. The `accesstype` enum defines the different access types that can be granted to a user. For now, only `read` access is supported. Closes reanahub#206
Adds a table and an enum to the database. The `user_workflow` table makes it possible to verify whether a specific workflow has been shared with a user. The `accesstype` enum defines the different access types that can be granted to a user. For now, only `read` access is supported. Closes reanahub#206
Adds a table and an enum to the database. The `user_workflow` table makes it possible to verify whether a specific workflow has been shared with a user. The `accesstype` enum defines the different access types that can be granted to a user. For now, only `read` access is supported. Closes reanahub#206
Adds a table and an enum to the database. The `user_workflow` table makes it possible to verify whether a specific workflow has been shared with a user. The `accesstype` enum defines the different access types that can be granted to a user. For now, only `read` access is supported. Closes reanahub#206
Adds a table and an enum to the database. The `user_workflow` table makes it possible to verify whether a specific workflow has been shared with a user. The `accesstype` enum defines the different access types that can be granted to a user. For now, only `read` access is supported. Closes reanahub#206
Adds a table and an enum to the database. The `user_workflow` table makes it possible to verify whether a specific workflow has been shared with a user. The `accesstype` enum defines the different access types that can be granted to a user. For now, only `read` access is supported. Closes reanahub#206
Adds a table and an enum to the database. The `user_workflow` table makes it possible to verify whether a specific workflow has been shared with a user. The `accesstype` enum defines the different access types that can be granted to a user. For now, only `read` access is supported. Closes reanahub#206
For the workflow sharing sprint reanahub/reana#751 we shall need DB model changes to express that Alice shared her workflow run myanalysis 42 with user Bob.
The DB design should be flexible enough to hint at various "user roles" e.g. Bob is only a R/O reader, but we should pave the way towards possible future more roles (e.g. someone who can restart workflows, e.g. someone who could modify some parts in R/W manner in Alice's name, etc.)
The goal of this issue it to design the new DB tables and prepare an Alembic recipe for upgrades of existing deployments.
The text was updated successfully, but these errors were encountered: