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

Feature: multi player collaborators are only able to add, edit, and delete their own entries, original widget owner is admin level and can add, edit, and delete all entries #36

Open
ryansrofe opened this issue Sep 29, 2023 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed question Further information is requested

Comments

@ryansrofe
Copy link
Collaborator

ryansrofe commented Sep 29, 2023

The Idea
The basic idea behind this feature is for the owner of the widget, the user who added the widget to the file, to have admin-level rights to edit and remove all changelogs and content. Whereas collaborators on the widget will only have access to edit and remove their own changelogs.

Some experimentation has been done already for this. Basically, because of how Figma widgets work ("you touched it last") this might need to be redesigned. It seems we are hitting a ceiling in terms of how multi-player editing works with widgets but maybe there is a creative way around it.

The Blocker
Currently, the widget displays in the state the last collaborator to the widget left it. So in the previous attempt to implement this if user A adds a changelog, then clicks away. User B will see the widget in that very same editable state even though they should not be able to edit. Once User B interacts with the widget, the widget will rerender the state based on User B's credentials. When user A comes back they won't be able to initially edit their previous logs but will be able to edit user B's logs, because they will be seeing the widget as User B left it. This is what I mean by "you touched it last display". Essentially all users see the same view instead of each user seeing a dynamic view based on their difference in state.

More information on how Figma widgets run.

@ryansrofe ryansrofe added the enhancement New feature or request label Sep 29, 2023
@ryansrofe ryansrofe changed the title user should not be allowed to edit another users changelog multi player collaborators are only able to add, edit, and delete their own entries, original widget owner is admin level and can add, edit, and delete all entries Sep 29, 2023
@ryansrofe ryansrofe changed the title multi player collaborators are only able to add, edit, and delete their own entries, original widget owner is admin level and can add, edit, and delete all entries Idea: multi player collaborators are only able to add, edit, and delete their own entries, original widget owner is admin level and can add, edit, and delete all entries Oct 4, 2023
@ryansrofe ryansrofe added help wanted Extra attention is needed question Further information is requested labels Oct 4, 2023
@ryansrofe ryansrofe changed the title Idea: multi player collaborators are only able to add, edit, and delete their own entries, original widget owner is admin level and can add, edit, and delete all entries Feature: multi player collaborators are only able to add, edit, and delete their own entries, original widget owner is admin level and can add, edit, and delete all entries Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant