Skip to content

Project sharing - #1938

Merged
aglinxinyuan merged 42 commits into
masterfrom
xinyuan-project-sharing2
Jun 15, 2023
Merged

aglinxinyuan merged 42 commits into
masterfrom
xinyuan-project-sharing2

Conversation

@aglinxinyuan

@aglinxinyuan aglinxinyuan commented May 30, 2023 •

Copy link
Copy Markdown
Contributor

Allow users to share projects with the other user with their email.
Following the same scheme of Workflow Sharing and File Sharing.
Follow up of #1975

This PR is using groupBy to get rid of duplicate workflows.
In case you have this is incompatible with sql_mode=only_full_group_by error,
you can fix it with core\scripts\sql\update\fix_groupby.sql script.

image

@aglinxinyuan aglinxinyuan added the ddl-change Changes to the TexeraDB DDL label May 30, 2023
@aglinxinyuan aglinxinyuan self-assigned this May 30, 2023
@aglinxinyuan
aglinxinyuan marked this pull request as draft June 4, 2023 23:39
@aglinxinyuan aglinxinyuan added feature and removed ddl-change Changes to the TexeraDB DDL labels Jun 9, 2023
@Xiao-zhen-Liu
Xiao-zhen-Liu marked this pull request as ready for review June 15, 2023 17:53

@Xiao-zhen-Liu Xiao-zhen-Liu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested the functionalities and it should be good now.

@aglinxinyuan
aglinxinyuan merged commit 492fe9b into master Jun 15, 2023
@aglinxinyuan
aglinxinyuan deleted the xinyuan-project-sharing2 branch June 15, 2023 23:58
@aglinxinyuan aglinxinyuan added the ddl-change Changes to the TexeraDB DDL label Jun 17, 2023
aglinxinyuan added a commit that referenced this pull request Apr 8, 2024
This PR fixes issue #2565: Frontend did not check the access, causing
users with any access to “remove,” “add,” or “modify” workflows in
projects, regardless of what access it has.

Project sharing was introduced in PR #1938. Projects can be shared with
permission from both read and write.

Public projects will be shared with read permission and introduced in PR
#2044.

After this fix, the create, upload, add, and remove buttons will be
disabled in read-only projects.


![image](https://github.com/Texera/texera/assets/11544314/97b7c090-f784-4ad3-9661-835c22702def)
yangzhang75 pushed a commit to yangzhang75/texera that referenced this pull request Jun 22, 2026
Allow users to share projects with the other user with their email.
Following the same scheme of Workflow Sharing and File Sharing.
Follow up of apache#1975

This PR is using groupBy to get rid of duplicate workflows. 
In case you have `this is incompatible with sql_mode=only_full_group_by`
error,
you can fix it with `core\scripts\sql\update\fix_groupby.sql` script.


![image](https://github.com/Texera/texera/assets/11544314/1c74ac6d-c204-4a72-b168-fda5a6979c67)
yangzhang75 pushed a commit to yangzhang75/texera that referenced this pull request Jun 22, 2026
This PR fixes issue apache#2565: Frontend did not check the access, causing
users with any access to “remove,” “add,” or “modify” workflows in
projects, regardless of what access it has.

Project sharing was introduced in PR apache#1938. Projects can be shared with
permission from both read and write.

Public projects will be shared with read permission and introduced in PR
apache#2044.

After this fix, the create, upload, add, and remove buttons will be
disabled in read-only projects.


![image](https://github.com/Texera/texera/assets/11544314/97b7c090-f784-4ad3-9661-835c22702def)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ddl-change Changes to the TexeraDB DDL feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants